libauth icon indicating copy to clipboard operation
libauth copied to clipboard

add bcrypt to list of supported cryptography

Open ryanxcharles opened this issue 7 years ago • 1 comments

  • I'm submitting a ... [ ] bug report [x] feature request [ ] question about the decisions made in the repository [ ] question about how to use this project

  • Summary

Please add bcrypt support. bcrypt is actually the most useful because it is the slowest in a browser. js is so slow you probably never want to do it client-side. But if it were as fast as a server, you could do it client-side. in the case of Money Button, client-side bcrypt would let us encrypt the wallet with something strong than just the user's password. If our DB were ever hacked, every user with weak passwords could have their wallet decrypted. Client-side bcrypt is a way to mitigate that problem.

  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

ryanxcharles avatar Jul 09 '18 15:07 ryanxcharles

Thanks for opening an issue! I'll definitely want to add this. I'll probably get started on it after https://github.com/bitjson/bitcoin-ts/pull/9 👍

bitjson avatar Jul 09 '18 16:07 bitjson