Viewing File: /home/ubuntu/route-and-root-frontend-base/node_modules/ethereum-cryptography/hash-utils.js

"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
Back to Directory File Manager