pub struct Ed25519Algo;Expand description
Ed25519 signature adapter.
Trait Implementations§
Source§impl SignatureAlgorithm for Ed25519Algo
impl SignatureAlgorithm for Ed25519Algo
Source§fn generate_keypair() -> Result<(Vec<u8>, Zeroizing<Vec<u8>>), AlgorithmError>
fn generate_keypair() -> Result<(Vec<u8>, Zeroizing<Vec<u8>>), AlgorithmError>
Generate a keypair, returning
(public_key, secret_key); the secret
zeroizes on drop.Auto Trait Implementations§
impl Freeze for Ed25519Algo
impl RefUnwindSafe for Ed25519Algo
impl Send for Ed25519Algo
impl Sync for Ed25519Algo
impl Unpin for Ed25519Algo
impl UnsafeUnpin for Ed25519Algo
impl UnwindSafe for Ed25519Algo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more