pub struct Ed25519;Expand description
Ed25519 signing primitive.
sign(sk, msg, sig_out) — sk must be 32 bytes (the raw seed / secret scalar).
sig_out must be at least 64 bytes; returns 64.
Trait Implementations§
Source§impl Signer for Ed25519
impl Signer for Ed25519
Source§fn signature_len(&self) -> usize
fn signature_len(&self) -> usize
Fixed signature length in bytes.
impl Copy for Ed25519
Auto Trait Implementations§
impl Freeze for Ed25519
impl RefUnwindSafe for Ed25519
impl Send for Ed25519
impl Sync for Ed25519
impl Unpin for Ed25519
impl UnsafeUnpin for Ed25519
impl UnwindSafe for Ed25519
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