diff --git a/utils/decode.ts b/utils/decode.ts index 8f0d708..26a5650 100644 --- a/utils/decode.ts +++ b/utils/decode.ts @@ -1,5 +1,5 @@ import { md5 } from "js-md5"; -import CryptoJS from "crypto-js"; +const CryptoJS = require("crypto-js"); const decrypt = function (ciphertext: string, iv: string, t: number): string { try { const key = generateKey(t);