mirror of
https://github.com/iLay1678/i-tools.git
synced 2025-07-03 18:52:17 +08:00
decrypt
This commit is contained in:
parent
ba12f72d1d
commit
a4a972334d
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user