mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 10:19:51 -06:00
6 lines
148 B
TypeScript
6 lines
148 B
TypeScript
import crypto from "crypto";
|
|
|
|
export const hashString = (string: string) => {
|
|
return crypto.createHash("sha256").update(string).digest("hex");
|
|
};
|