Open
Description
https://nodejs.org/api/webcrypto.html supports async hash functions. Meaning that if this libs implements an async function like:
import hash from 'object-hash';
await hash({foo: 'bar'}) // => '67b69634f9880a282c14a0f0cb7ba20cf5d677e9'
Then users could use async functionality for this.
So the async version should be made clear to depend on Node.js and browsers supporting globalThis.crypto
.
Metadata
Assignees
Labels
No labels