Primitives.HashSourceVariable-length hex hash type (0x-prefixed, any number of hex chars). Used for signatures and other variable-length hex data.
Create a hash with validation. Returns Error if invalid.
Create from string without validation. Use only for trusted sources.
Pretty printer for Format.
JSON deserialization with validation.
JSON deserialization, raises on invalid.
JSON serialization.
JSON serialization (ppx_yojson_conv compatibility).
JSON deserialization (ppx_yojson_conv compatibility).