hash package:haskoin-core
hash of previous transaction
Hashing functions and corresponding data types. Uses functions from
the cryptonite library.
RIPEMD160 hash of public key's SHA256 hash
Concatenate and compute double SHA256.
hashes in depth-first order
Block header hash. To be serialized reversed for display purposes.
Block hashes are reversed with respect to the in-memory byte order in
a block hash when displayed.
Convert a human-readable hex block hash into a
BlockHash. Bytes
are reversed as normal.
Short version of the block hash. Uses the good end of the hash (the
part that doesn't have a long string of zeroes).
Calculate short block hash taking eight non-zero bytes from the
16-byte hash. This function will take the bytes that are not on the
zero-side of the hash, making colissions between short block hashes
difficult.
Computes the hash of a specific node in a Merkle tree.
Compute SHA-256 followed by RIPMED-160.
Initialize tagged hash specified in BIP340
Sign a 256-bit hash using secp256k1 elliptic curve.
Verify an ECDSA signature for a 256-bit hash.