EOSIO / eosjs-ecc

Elliptic curve cryptography functions: Private Key, Public Key, Signature, AES, Encryption, Decryption
287 stars 119 forks source link

Adding fallback name for ripemd160 #56

Closed nsjames closed 5 years ago

nsjames commented 5 years ago

In certain environments it seems that ripemd160 is failing citing a "Digest method not supported". https://github.com/crypto-browserify/createHash doesn't always accept rmd160 as the ripemd string, and requires the full ripemd160.

nsjames commented 5 years ago

Reproduction case here: https://github.com/Stuyk/broken-electron

igorls commented 5 years ago

Any ETA on merging this?

nsjames commented 4 years ago

Any ETA on pushing to npm and updating dependents (eosjs)? Currently, I have to modify the node_module every time I yarn.