xs-blowfish

Blowfish encryption in JavaScript

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
xs-blowfish
402.0.010 years ago10 years agoMinified + gzip package size for xs-blowfish in KB

Readme

blowfish.js
Please visit the blowfish.js home page for more information.
var Blowfish = require('../blowfish');
var bf = new Blowfish('jaas is the way');
var encoding = bf.encrypt('Config_RsA+');

console.log(encoding);
// D93DDE3FA9F885DED0258ACB404C510A

var decoding = bf.decrypt(encoding);

console.log(JSON.stringify(decoding));
// Config_RsA+

console.log(bf.decrypt('0a945741a53e60877183c1d314f5102209f526570957572b'));
// ssheartTB007writer