Package Exports
- xs-blowfish
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (xs-blowfish) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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