bip38-decrypt

1.0.2 • Public • Published

bip38-decrypt

A small node module that accepts a Base58, Bip38 encrypted private key and a password and returns the decrypted results after verifing that the decoded private key is the one we expected (which dosn't exist in the standart bitcoin libs in node).

var bip38Decrypt = require('bip38Decrypt');
 
bip38Decrypt(encryptedPrivKey,password, function(err,decryptedPrivateWif) {
  if (err)
    console.log(err.msg);
    return err;
  else {
    console.log(decryptedPrivateWif);
    return decryptedPrivateWif;
  }
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    9
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    9
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i bip38-decrypt

Weekly Downloads

3

Version

1.0.2

License

MIT

Last publish

Collaborators

  • theobbit85