Need private packages and team management tools?Check out npm Teams »

aes-clh

1.0.0 • Public • Published

quick-start

AES算法--加密算法:MCRYPT_RIJNDAEL_128,算法模式:MCRYPT_MODE_ECB,补码方式:PKCS5Padding

加密

const aes = require("aes-clh")

const content = "hello" 加密前的内容

const ser = "a2dfc3d4e5f612d3" 这是加密的密钥

aes.aesCipher(content, ser)

解密

const aes = require("aes-clh")

const cipherContent = "d83d83654284b143b38a0af4a4416dd5" 加密后的内容

const ser = "a2dfc3d4e5f612d3" 这是加密的密钥

aes.aesDecipher(cipherContent, ser)

Install

npm i aes-clh

DownloadsWeekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

1.64 kB

Total Files

4

Last publish

Collaborators

  • avatar