0.0.5 • Published 1 year ago

@renzhao/red v0.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year 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

1 year ago

0.0.4

1 year ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago