# Functions
BigToHash sets byte representation of b to hash.
Bytes2Hex returns the hexadecimal encoding of d.
BytesToHash sets b to hash.
CopyBytes returns an exact copy of the provided bytes.
FromHex returns the bytes represented by the hexadecimal string s.
Hex2Bytes returns the bytes represented by the hexadecimal string str.
Hex2BytesFixed returns bytes of a specified fixed length flen.
HexToHash sets byte representation of s to hash.
No description provided by the author
Keccak256Hash calculates and returns the Keccak256 hash of the input data, converting it to an internal Hash data structure.
LeftPadBytes zero-pads slice to the left up to length l.
RightPadBytes zero-pads slice to the right up to length l.
No description provided by the author
No description provided by the author
ToHex returns the hex representation of b, prefixed with '0x'.
ToHexArray creates a array of hex-string based on []byte.
# Constants
AddressLength is the expected length of the address.
HashLength is the expected length of the hash.
# Type aliases
Hash represents the 32 byte Keccak256 hash of arbitrary data.
No description provided by the author
UnprefixedHash allows marshaling a Hash without 0x prefix.