Renzhao Encryption & decryption
npm start
对称加密
import { AES } from 'red'
const target = 'hello'
const AESKey = randomBytes(32)
const IV = randomBytes(16)
const encryptRes = AES.encrypt(target, AESKey, IV)
console.log(encryptRes)
非对称加密,签名验证
压缩
单方向加密密钥