UNPKG

@chassisjs/hermes

Version:

Production-Ready TypeScript Outbox Pattern

10 lines 305 B
import crypto from 'node:crypto'; const createSha256From = (fromValues) => { const hash = crypto.createHash('sha256'); for (const value of fromValues) { hash.update(value.toString()); } return hash.digest('hex'); }; export { createSha256From }; //# sourceMappingURL=Sha256Of.js.map