mirror of
https://github.com/JonasunderscoreJones/aka-worker.git
synced 2025-10-23 09:59:19 +02:00
12 lines
No EOL
368 B
JavaScript
12 lines
No EOL
368 B
JavaScript
"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
|