super-fast-md4
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

super-fast-md5

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

Readme

Keywords

Package Sidebar

Install

npm i super-fast-md4

Weekly Downloads

3

Version

0.0.5

License

MIT

Unpacked Size

27.7 kB

Total Files

7

Last publish

Collaborators

  • rustle