pub struct Ed25519;Expand description
RFC 8032 Ed25519 (PureEdDSA over Curve25519 with SHA-512).
Trait Implementations§
Source§impl SignatureScheme for Ed25519
impl SignatureScheme for Ed25519
Source§const PRIVATE_KEY_LEN: usize = 32
const PRIVATE_KEY_LEN: usize = 32
Seed / private key length in bytes.
Source§const PUBLIC_KEY_LEN: usize = 32
const PUBLIC_KEY_LEN: usize = 32
Public key length in bytes.
Source§const SIGNATURE_LEN: usize = 64
const SIGNATURE_LEN: usize = 64
Signature length in bytes.
Source§fn public_key(private_key: &[u8], out: &mut [u8]) -> Result<()>
fn public_key(private_key: &[u8], out: &mut [u8]) -> Result<()>
Derive the public key from a private key.
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