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