Files
formbricks-formbricks/packages/lib/crypto.ts

4 lines
134 B
TypeScript

import { createHash } from "crypto";
export const getHash = (key: string): string => createHash("sha256").update(key).digest("hex");