Skip to content

aes-ecb nodejs implement for communication with others languages like java, .net.

Notifications You must be signed in to change notification settings

x343734282/aes-ecb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aes-ecb

aes-ecb nodejs implement for communication with others languages like java, .net.

npm i aes-ecb-nodejs

API

encrypt aes-128-ecb encrypt.bit128(key,text,outEncoding) aes-192-ecb encrypt.bit192(key,text,outEncoding) aes-256-ecb encrypt.bit256(key,text,outEncoding)

decrypt aes-128-ecb decrypt.bit128(key,text,encryptEncoding,outEncoding) aes-192-ecb decrypt.bit192(key,text,encryptEncoding,outEncoding) aes-256-ecb decrypt.bit256(key,text,encryptEncoding,outEncoding)

example

var aes = require('./aes-ecb.js'); var r = aes.encrypt.bit128('1111111111111111', 'abc','hex');

var dec = aes.decrypt.bit128('1111111111111111', r,'hex','utf8');

About

aes-ecb nodejs implement for communication with others languages like java, .net.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published