can-can-word-bug
Version:
can-can-word-bug 是一个 TS 编写的工具库
19 lines (18 loc) • 461 B
JavaScript
import { C as n } from "../index-BQfkcx47.js";
const o = (r, t) => n.AES.encrypt(t, r).toString(), p = (r, t) => n.AES.encrypt(t, r).toString(), y = (r) => ({
/**
* 加密
* @param str 需要加密的字符串
*/
encrypt: (t) => n.AES.encrypt(t, r).toString(),
/**
* 解密
* @param str 需要解密的字符串
*/
decrypt: (t) => n.AES.decrypt(t, r).toString(n.enc.Utf8)
});
export {
p as decrypt,
y as default,
o as encrypt
};