hash-fn.js 368 B

123456789101112
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. /**
  4. * Default hash length, in bytes, unless otherwise specified.
  5. */
  6. exports.defaultHashLength = 32;
  7. /**
  8. * Converts the input to an Uint8Array.
  9. * @hidden
  10. */
  11. exports.inputToArray = (input) => input instanceof Uint8Array ? input : new Uint8Array(input);
  12. //# sourceMappingURL=hash-fn.js.map