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
206 stars 100 forks source link

Fix normalization #56

Closed junderw closed 4 years ago

junderw commented 4 years ago

Fixes #55

I couldn't find a good way to encode unicode in a json file... so the test case is wonky, but it works just as in the BIP.

Major version bump + publish is needed. I have gone ahead and bumped the version on this branch and will push the tag to github once npm is published.