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
{{ message }}
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.
The Node.js crypto libraries support chunked updates to the hash which allows you to stream to it, which I make pretty heavy use of. Can we get a similar feature here?
Also, just out of curiosity, what does ipfs use as the default hashing algorithm?
The text was updated successfully, but these errors were encountered:
This module doesn't do the hashing itself, it just handles the prefixing + identifying the hash func. js-multihashing and js-multihashing-async are the ones we use to do the hashing.
We can have a js-multihashing-stream. However, do note that WebCrypto doesn't support streaming (same as encrypt/decrypt.. which means that the hashing would need to use the JS shim which is considerably slower than WebCrypto in the browser.
Heya,
The Node.js crypto libraries support chunked updates to the hash which allows you to stream to it, which I make pretty heavy use of. Can we get a similar feature here?
Also, just out of curiosity, what does ipfs use as the default hashing algorithm?
The text was updated successfully, but these errors were encountered: