Module for hashing and encoding operations
Every function that takes data accepts it as bytes, in any of these forms:
Uint8Array
ArrayBuffer
Anything else throws an error, rather than quietly hashing some other bytes.
Module for hashing and encoding operations
Every function that takes data accepts it as bytes, in any of these forms:
Uint8Array(or any other typed array) or anArrayBufferAnything else throws an error, rather than quietly hashing some other bytes.