mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-30 19:07:58 +03:00
6 lines
145 B
TypeScript
6 lines
145 B
TypeScript
import crypto from "crypto";
|
|
|
|
export function HashSHA256(content: Buffer) {
|
|
return crypto.createHash("sha256").update(content).digest("hex");
|
|
}
|