UNPKG

convex

Version:

Client for the Convex Cloud

6 lines (4 loc) 159 B
import { createHash } from "crypto"; export function hashSha256(value: string): string { return createHash("sha256").update(value, "utf8").digest("hex"); }