4 ms·
Firefox is probably slower because it uses the javascript implementation of the hashing algorithm: https://github.com/nimiq-network/core/blob/master/src/main/p
by sayhello 9y ago
Firefox is probably slower because it uses the javascript implementation of the hashing algorithm:
https://github.com/nimiq-network/core/blob/master/src/main/platform/browser/crypto/CryptoLib.js https://github.com/nimiq-network/core/blob/master/src/main/p...
Chrome implements the WebCrypto API https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_...
I think it uses this interface: https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/crypto/WindowCrypto.idl?dr=C https://cs.chromium.org/chromium/src/third_party/WebKit/Sour...