pub struct Ed25519SecretKey(pub [u8; 32]);Expand description
Ed25519 private key: the 32-byte seed of RFC 8032 section 5.1.5.
The scalar and the prefix are derived from it by hashing, so any 32-byte string is a valid key.
Tuple Fields§
§0: [u8; 32]Trait Implementations§
Source§impl Clone for Ed25519SecretKey
impl Clone for Ed25519SecretKey
Source§fn clone(&self) -> Ed25519SecretKey
fn clone(&self) -> Ed25519SecretKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Ed25519SecretKey
Source§impl Debug for Ed25519SecretKey
impl Debug for Ed25519SecretKey
Source§impl Default for Ed25519SecretKey
impl Default for Ed25519SecretKey
Source§fn default() -> Ed25519SecretKey
fn default() -> Ed25519SecretKey
Returns the “default value” for a type. Read more
impl Eq for Ed25519SecretKey
Source§impl Format for Ed25519SecretKey
impl Format for Ed25519SecretKey
Source§impl PartialEq for Ed25519SecretKey
impl PartialEq for Ed25519SecretKey
impl StructuralPartialEq for Ed25519SecretKey
Auto Trait Implementations§
impl Freeze for Ed25519SecretKey
impl RefUnwindSafe for Ed25519SecretKey
impl Send for Ed25519SecretKey
impl Sync for Ed25519SecretKey
impl Unpin for Ed25519SecretKey
impl UnsafeUnpin for Ed25519SecretKey
impl UnwindSafe for Ed25519SecretKey
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