UNPKG

@aviarytech/didcomm-protocols.trust-ping

Version:
8 lines 287 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sha256 = void 0; const sha256_1 = require("@stablelib/sha256"); exports.sha256 = (val) => { return Buffer.from(sha256_1.hash(Buffer.from(val))).toString("hex"); }; //# sourceMappingURL=sha256.js.map