Updates the hash with the given data.
The data to update the hash with.
The current Hasher instance for chaining.
const hasher = new Hasher();hasher.update("some data").update("more data");const hash = hasher.digest(); Copy
const hasher = new Hasher();hasher.update("some data").update("more data");const hash = hasher.digest();
Finalizes the hash and returns the digest as a hexadecimal string.
The hexadecimal string representation of the hash.
const hasher = new Hasher();hasher.update("some data");const hash = hasher.digest(); // Outputs something like "0x..." Copy
const hasher = new Hasher();hasher.update("some data");const hash = hasher.digest(); // Outputs something like "0x..."
Updates the hash with the given data.