xs-blowfish

2.0.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i xs-blowfish

    Weekly Downloads

    13

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • coolme200