ReadonlydataThe raw bytes of the authentication key.
Static ReadonlyLENGTHAn authentication key is always a SHA3-256 hash of data, and is always 32 bytes.
The data to hash depends on the underlying public key type and the derivation scheme.
Derives an account address from an AuthenticationKey. Since an AccountAddress is also 32 bytes, the AuthenticationKey bytes are directly translated to an AccountAddress.
AccountAddress
StaticdeserializeDeserialize an AuthenticationKey from the byte buffer in a Deserializer instance.
The deserializer to deserialize the AuthenticationKey from.
An instance of AuthenticationKey.
StaticfromConverts a PublicKey(s) to an AuthenticationKey, using the derivation scheme inferred from the instance of the PublicKey type passed in.
AuthenticationKey
Staticfromthe public key and scheme to use for the derivation
Staticfrom
Each account stores an authentication key. Authentication key enables account owners to rotate their private key(s) associated with the account without changing the address that hosts their account.
See
Account Basics
Account addresses can be derived from AuthenticationKey