Current Folder
This commit is contained in:
1 parent
8b3382289b
commit
cfcada880d
4379 files changed
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function createHashFunction(hashConstructor) {
|
||||
return function (msg) {
|
||||
var hash = hashConstructor();
|
||||
hash.update(msg);
|
||||
return Buffer.from(hash.digest());
|
||||
};
|
||||
}
|
||||
exports.createHashFunction = createHashFunction;
|
||||
//# sourceMappingURL=hash-utils.js.map
|
||||
Reference in new issue
Block a user