Skip to content

ryusatgat/seed-ecb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seed-ecb

KISA-SEED node.js implementation

How to install

npm i seed-ecb

How to use

const seed = require('seed-ecb')
const key = '0123456789012345'

seed.setKey(key)

const cryptoText = seed.encryptBase64('abcd')
console.log(cryptoText, seed.decryptBase64(cryptoText))

const plainBytes = Buffer.from('abcd')
const cryptoBytes = seed.encrypt(plainBytes)
console.log(Buffer.from(cryptoBytes).toString('base64'), cryptoBytes, seed.decrypt(cryptoBytes))

Test online

https://www.ryugod.com

About

KISA-SEED node.js implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published