blake2s.js 920 B

123456789101112131415161718192021
  1. /**
  2. * Blake2s hash function. Focuses on 8-bit to 32-bit platforms. blake2b for 64-bit, but in JS it is slower.
  3. * @module
  4. * @deprecated
  5. */
  6. import { G1s as G1s_n, G2s as G2s_n } from "./_blake.js";
  7. import { SHA256_IV } from "./_md.js";
  8. import { BLAKE2s as B2S, blake2s as b2s, compress as compress_n } from "./blake2.js";
  9. /** @deprecated Use import from `noble/hashes/blake2` module */
  10. export const B2S_IV = SHA256_IV;
  11. /** @deprecated Use import from `noble/hashes/blake2` module */
  12. export const G1s = G1s_n;
  13. /** @deprecated Use import from `noble/hashes/blake2` module */
  14. export const G2s = G2s_n;
  15. /** @deprecated Use import from `noble/hashes/blake2` module */
  16. export const compress = compress_n;
  17. /** @deprecated Use import from `noble/hashes/blake2` module */
  18. export const BLAKE2s = B2S;
  19. /** @deprecated Use import from `noble/hashes/blake2` module */
  20. export const blake2s = b2s;
  21. //# sourceMappingURL=blake2s.js.map