BitGo / bitgo-utxo-lib

UTXO coins functions implemented in pure JavaScript
86 stars 146 forks source link

BG-10188 use ripemd160 if rmd160 is not supported #23

Closed FloBitGo closed 5 years ago

FloBitGo commented 5 years ago

Electron switched from openSSL to boringSSL and forgot to implement ripemd160 and when they did, they ignored the short alias rmd160: https://github.com/electron/electron/pull/16572

If the current environment does not support rmd160 but supports ripemd160, we now use that one. If it doesn't support either, it will still die with Digest method not supported