bitcoinjs-lib icon indicating copy to clipboard operation
bitcoinjs-lib copied to clipboard

Replace CryptoJS by SJCL

Open sembrestels opened this issue 11 years ago • 1 comments

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.

sembrestels avatar Dec 12 '13 06:12 sembrestels

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.

vbuterin avatar Dec 12 '13 18:12 vbuterin