Expand description
XRPL hashing.
Almost every identifier in XRPL (the hash of a ledger, a transaction, a tree node, the signed data of a validation) is SHA-512Half: the first 32 bytes of SHA-512 over the data preceded by a four-byte domain prefix. The prefix separates the spaces: the same bytes hashed as a transaction and as a tree node give different hashes.
Enums§
- Hash
Prefix - Hashing domain prefixes.
Functions§
- sha512_
half - SHA-512Half: the first 32 bytes of SHA-512 over the data.
- sha512_
half_ prefixed - SHA-512Half over the data with a domain prefix. This is how XRPL computes hashes.