Struct everscale_crypto::ed25519::PublicKey
source · pub struct PublicKey(_, _);Expand description
Ed25519 public key
Implementations§
source§impl PublicKey
impl PublicKey
sourcepub fn from_bytes(bytes: [u8; 32]) -> Option<Self>
pub fn from_bytes(bytes: [u8; 32]) -> Option<Self>
Tries to create public key from
pub fn from_tl(tl: PublicKey<'_>) -> Option<Self>
pub fn as_tl(&self) -> PublicKey<'_>
pub fn to_bytes(&self) -> [u8; 32]
pub fn as_bytes(&self) -> &[u8; 32]
Trait Implementations§
source§impl From<&ExpandedSecretKey> for PublicKey
impl From<&ExpandedSecretKey> for PublicKey
source§fn from(expanded_secret_key: &ExpandedSecretKey) -> Self
fn from(expanded_secret_key: &ExpandedSecretKey) -> Self
Converts to this type from the input type.