Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Free functions

hash160Computes Bitcoin Hash160 (RIPEMD160(SHA256(data))) from input data. Implements the standard Bitcoin Hash160 function used for address generation…
hash256Computes Bitcoin Hash256 (SHA256(SHA256(data))) from input data. Implements the Bitcoin double SHA256 function used for transaction IDs,…
sha256Computes a single SHA256 hash from input data. Provides a wrapper around the core SHA256 implementation to convert between different data formats and produce byte array output….
checksumCalculates a 4-byte checksum for Base58Check encoding. Computes Hash256 of the input data and returns the first 4 bytes as a checksum for Base58Check encoding used in legacy Bitcoin addresses….
hash160_from_byte_arrayComputes Bitcoin Hash160 directly from ByteArray input. Optimized version of hash160 that works directly with ByteArray data without requiring conversion to Span first….
sha256_from_byte_arrayComputes SHA256 hash directly from ByteArray input. Optimized version of sha256 that works directly with ByteArray data without requiring conversion to Span first….
sha256_byte_arrayComputes SHA256 hash directly from ByteArray input to ByteArray output. Optimized version of sha256 that works directly with ByteArray data without requiring last conversion to ByteArray….
sha256_u256Computes SHA256 hash directly from ByteArray input to u256 output. Optimized version of sha256 that works directly with ByteArray data without requiring last conversion to u256….
hash256_from_byte_arrayComputes Bitcoin Hash256 (double SHA256) directly from ByteArray input. Optimized version of hash256 that works directly with ByteArray data without requiring conversion to Span first….