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