UNPKG

nest-phylax

Version:

Security library for NestJS

9 lines 350 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createSha256Hash = void 0; const crypto_1 = require("crypto"); function createSha256Hash(rawText) { return (0, crypto_1.createHash)('sha256').update(rawText).digest('hex'); } exports.createSha256Hash = createSha256Hash; //# sourceMappingURL=index.js.map