Update cache.ts

This commit is contained in:
Daniel Hougaard
2025-07-09 23:36:46 +04:00
parent 3c4549e262
commit 41787908dd

View File

@@ -1,7 +1,7 @@
import { crypto } from "@app/lib/crypto/cryptography";
export const generateCacheKeyFromData = (data: unknown) =>
crypto.rawCrypto.
crypto.rawCrypto
.createHash("sha256")
.update(JSON.stringify(data))
.digest("base64")