UNPKG

@dotenc/cli

Version:

🔐 Secure, encrypted environment variables that live in your codebase

8 lines (7 loc) 192 B
import crypto from "node:crypto"; /** * Computes a hash of the input string. */ export const createHash = (input) => { return crypto.createHash("sha256").update(input).digest("hex"); };