Return type of the useHash hook.
const { hash, digest, isHashing }: UseHashResult = useHash(); Copy
const { hash, digest, isHashing }: UseHashResult = useHash();
Compute a cryptographic hash digest. Returns the hex-encoded digest.
The last computed hex-encoded digest.
True while a hash is being computed.
Return type of the useHash hook.
Example