0.0.5 • Published 2 years ago

@renzhao/red v0.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Red

Renzhao Encryption and decryption

Runtime

npm start

API

AES

对称加密

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)

RSA

非对称加密,签名验证

Gzip

压缩

PBKDF2

单方向加密密钥

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago