UNPKG

opstack-kit-chains

Version:
11 lines 438 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.hashSignature = void 0; const toBytes_js_1 = require("../encoding/toBytes.js"); const keccak256_js_1 = require("./keccak256.js"); const hash = (value) => (0, keccak256_js_1.keccak256)((0, toBytes_js_1.toBytes)(value)); function hashSignature(sig) { return hash(sig); } exports.hashSignature = hashSignature; //# sourceMappingURL=hashSignature.js.map