You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we're using asmCrypto.js which has reasonable performance but we should compare with a WebAssembly implementation. Since Rust has an official WASM backend it should be relatively easy to use the SHA-2 crate and create a function which does exactly what we need (bytes -> hex) for benchmarking.
The text was updated successfully, but these errors were encountered:
These are small enough that we could use WebCrypto but that will require
dealing with a new API for encoding/decoding and producing a hex output
string. At the very least, this seems like it should wait until #46
since that could be a reasonable solution for both this need and hash
workers.
Closes#45
Currently we're using asmCrypto.js which has reasonable performance but we should compare with a WebAssembly implementation. Since Rust has an official WASM backend it should be relatively easy to use the SHA-2 crate and create a function which does exactly what we need (bytes -> hex) for benchmarking.
The text was updated successfully, but these errors were encountered: