This extension class enables some convenient methods (sugar for the most part) to deal with Address.
Utility methods to deal with
Augments types to have some shortcut methods dealing with HashDigest<T> values.
An identifier of 20 bytes (or 40 letters in hexadecimal, commonly with
0x) that refers to a unique account.
It is derived from the corresponding PublicKey of an account, but as a derivation loses information, it is always unidirectional.
The address derivation from a public key is as follows:
- Calculates the Keccak-256, which is a previous form of SHA-3 before NIST standardized it and does not follow FIPS-202, of the corresponding PublicKey.
- Takes only the last 20 bytes of the calculated Keccak-256 hash.
- When the address needs to be shown to end users,
displays these 20 bytes in hexadecimal, with a prefix
A value type to represent digest bytes determined by a
A delegate to determine a consistent
Since it is called multiple times with different
proof-of-work system, the total time an implementation elapses
should not vary for different