0.0.5 • Published 3 years ago

super-fast-md4 v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

NPM version

Super fast and super small wasm version of md5 algorithm, able to use in browser and nodejs. The implementation comes from hash-wasm, We simplify the asynchronous syntax to synchronous syntax.

CDN

<!DOCTYPE html>
<html lang="en">
<body>
  <script src="https://unpkg.com/super-fast-md5/dist/md5.umd.js"></script>
  <script>
    const hash = FastMD5.md5('code');
    console.log(hash);
  </script>
</body>
</html>

NPM

import { md5 } from 'super-fast-md5';

// code -> `string | ArrayBuffer`
const hash = md5('code');
console.log(hash);

Performance

./a.js (1024 KiB)
> 10ms
0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago