vbuterin / bitcoinjs-lib

Bitcoin-related functions implemented in pure JavaScript
MIT License
106 stars 41 forks source link

Replace CryptoJS by SJCL #5

Open sembrestels opened 10 years ago

sembrestels commented 10 years ago

CryptoJS seems discontinued, while SJCL is being maintained very hard.

SJCL includes hmac and sha512 needed for the HD wallets, and it also has support for window.crypto.getRandomValues() (https://github.com/bitwiseshiftleft/sjcl/blob/master/core/random.js#L455).

I think SJCL is a better choice.

vbuterin commented 10 years ago

Interesting idea. I'll seriously consider it. Thanks a lot,

Vitalik

On 12/12/2013 01:55 AM, Sem wrote:

CryptoJS seems discontinued, while SJCL is being maintained very hard.

SJCL includes hmac and sha512 needed for the HD wallets, and it also has support for |window.crypto.getRandomValues()| (https://github.com/bitwiseshiftleft/sjcl/blob/master/core/random.js#L455).

I think SJCL is a better choice.

— Reply to this email directly or view it on GitHub https://github.com/vbuterin/bitcoinjs-lib/issues/5.