sdk.core.sha2_256
Home > @blaze-cardano/sdk > Core > sha2_256
Core.sha2_256() function
Function to compute the SHA2-256 hash of a hex blob.
Signature:
declare function sha2_256(data: HexBlob): Hash32ByteBase16;
Parameters
Parameter |
Type |
Description |
---|---|---|
data |
HexBlob |
Returns:
{Hash32ByteBase16} The computed hash in Hash32ByteBase16 format.