This commit is contained in:
iLay 2024-12-06 22:12:26 +08:00
parent ba12f72d1d
commit a4a972334d

View File

@ -1,5 +1,5 @@
import { md5 } from "js-md5"; 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 { const decrypt = function (ciphertext: string, iv: string, t: number): string {
try { try {
const key = generateKey(t); const key = generateKey(t);