Module casper_types::checksummed_hex [−][src]
Expand description
Checksummed hex encoding following an EIP-55-like scheme.
Constants
The number of input bytes, at or below which encode
will checksum-encode the output.
Functions
Decodes a mixed-case hexadecimal string, verifying that it conforms to the checksum scheme similar to scheme in EIP-55.
If input
is not greater than SMALL_BYTES_COUNT
, returns the bytes encoded as hexadecimal
with mixed-case based checksums following a scheme similar to EIP-55. If input
is
greater than SMALL_BYTES_COUNT
, no mixed-case checksumming is applied, and lowercase hex is
returned.