SHA2-512/256 cryptographic hash algorithm.
SHA-512/256 is the same algorithm as SHA-512, but with different initialization vectors and digest length.
Cleans internal buffers and resets hash state.
Cleans state returned by saveState().
Returns the final hash digest.
Finalizes hash state and puts hash into out. If hash was already finalized, puts the same value.
Resets hash state making it possible to re-use this instance to hash other data.
Function useful for HMAC/PBKDF2 optimization. Restores state saved by saveState() and sets bytesHashed to the given value.
Function useful for HMAC/PBKDF2 optimization. Returns hash state to be used with restoreState(). Only chain value is saved, not buffers or other state variables.
Updates hash state with the given data.
Throws error when trying to update already finalized hash: instance must be reset to update it again.
Generated using TypeDoc