bitcoinjs / bip38

BIP38 is a standard process to encrypt Bitcoin and crypto currency private keys that is less susceptible to brute force attacks thus protecting the user.
http://cryptocoinjs.com/modules/currency/bip38/
MIT License
208 stars 100 forks source link

Use Node crypto AES #6

Closed dcousens closed 9 years ago

dcousens commented 9 years ago

This pull request removes the usage of the aes and instead uses the default node crypto module.

coveralls commented 9 years ago

Coverage Status

Changes Unknown when pulling d1bdf2864e8b9205d079b7a87c8839f116a6fb3f on nodeaes into \ on master**.

jprichardson commented 9 years ago

Awesome man! Thanks!

jprichardson commented 9 years ago

Damn, this doesn't work in the browser because it looks like browserify-aes doesn't support setAutoPadding. See https://github.com/cryptocoinjs/bip38/blob/5986f7e80cde136cb8c612dcab77ff8b43e6cfaa/lib/bip38.js#L61 for reference.

calvinmetcalf commented 9 years ago

dominictarr/crypto-browserify#92