Skip to content

sureshkumarnatrevmakx/blowfish-security-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blowfish-security-lib

Blowfish encryption in javascript.

Installation

To install the module using NPM:

npm install blowfish-security-lib --save

Examples

To encrypt a message

var Blowfish = require('./blowfish');

var bf = new Blowfish("secret key");
var encrypted = bf.encrypt("text");
console.log(encrypted);

To decrypt a ciphertext

var Blowfish = require('./blowfish');

var bf = new Blowfish("secret key");
var encrypted = bf.encrypt("text");
console.log(encrypted);
var decrypted = bf.decrypt(encrypted);

console.log(decrypted);

Testing

npm test

License

GPL 3.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages