mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Update cache.ts
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user