pub struct AuthenticationKeyPreimage(_);
Expand description
A value that can be hashed to produce an authentication key
Implementations§
§impl AuthenticationKeyPreimage
impl AuthenticationKeyPreimage
pub fn ed25519(public_key: &Ed25519PublicKey) -> AuthenticationKeyPreimage
pub fn ed25519(public_key: &Ed25519PublicKey) -> AuthenticationKeyPreimage
Construct a preimage from an Ed25519 public key
pub fn multi_ed25519(
public_key: &MultiEd25519PublicKey
) -> AuthenticationKeyPreimage
pub fn multi_ed25519( public_key: &MultiEd25519PublicKey ) -> AuthenticationKeyPreimage
Construct a preimage from a MultiEd25519 public key