npm install uupaa.hash.js
Hash functions.
This module made of WebModule.
``js
Hash.MD5("aaa", true); // -> "47bce5c74f589f4867dbd57e9ca9f808"
Hash.SHA1("aaa", true); // -> "7e240de74fb1ed08fa08d38063f6a6a91462a815"
Hash.HMAC("MD5", "key", "The quick brown fox jumps over the lazy dog", true); // -> "80070713463e7749b90c2dc24911e275"
Hash.HMAC("SHA1", "key", "The quick brown fox jumps over the lazy dog", true); // -> "de7c9b85b8b78aa6bc8a7a36f70a90701c9db4d9"
Hash.Adler32("The quick brown fox jumped over the lazy dogs.\n", true); // -> "9de210db"
Hash.XXHash("0123456789abcdef", true); // -> "c2c45b69"
Hash.Murmur("0123456789abcdef", true); // -> "36c7e0df"
Hash.CRC("0123456789abcdef", Hash.CRC32, { hex: true }); // -> "68c4f033"
`
`js
importScripts("
importScripts("
`
`js
require("
require("
``