index.js 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. "use strict";
  2. /**
  3. * Audited & minimal JS implementation of hash functions, MACs and KDFs. Check out individual modules.
  4. * @module
  5. * @example
  6. ```js
  7. import {
  8. sha256, sha384, sha512, sha224, sha512_224, sha512_256
  9. } from '@noble/hashes/sha2';
  10. import {
  11. sha3_224, sha3_256, sha3_384, sha3_512,
  12. keccak_224, keccak_256, keccak_384, keccak_512,
  13. shake128, shake256
  14. } from '@noble/hashes/sha3';
  15. import {
  16. cshake128, cshake256,
  17. turboshake128, turboshake256,
  18. kmac128, kmac256,
  19. tuplehash256, parallelhash256,
  20. k12, m14, keccakprg
  21. } from '@noble/hashes/sha3-addons';
  22. import { blake3 } from '@noble/hashes/blake3';
  23. import { blake2b, blake2s } from '@noble/hashes/blake2';
  24. import { hmac } from '@noble/hashes/hmac';
  25. import { hkdf } from '@noble/hashes/hkdf';
  26. import { pbkdf2, pbkdf2Async } from '@noble/hashes/pbkdf2';
  27. import { scrypt, scryptAsync } from '@noble/hashes/scrypt';
  28. import { md5, ripemd160, sha1 } from '@noble/hashes/legacy';
  29. import * as utils from '@noble/hashes/utils';
  30. ```
  31. */
  32. throw new Error('root module cannot be imported: import submodules instead. Check out README');
  33. //# sourceMappingURL=index.js.map