hash-fn.js 301 B

12345678910
  1. /**
  2. * Default hash length, in bytes, unless otherwise specified.
  3. */
  4. export const defaultHashLength = 32;
  5. /**
  6. * Converts the input to an Uint8Array.
  7. * @hidden
  8. */
  9. export const inputToArray = (input) => input instanceof Uint8Array ? input : new Uint8Array(input);
  10. //# sourceMappingURL=hash-fn.js.map