hash256
reddcoinjs-lib v7.0.1-rdd.1 • Docs
reddcoinjs-lib v7.0.1-rdd.1 / crypto / hash256
Function: hash256()
hash256(
buffer):Uint8Array
Computes the double SHA-256 hash of the given buffer.
Parameters
• buffer: Uint8Array
The input data to be hashed.
Returns
Uint8Array
The double SHA-256 hash of the input buffer.