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
impl Copy for Ed25519SecretKey
Source§impl Debug for Ed25519SecretKey
impl Debug for Ed25519SecretKey
Source§impl Default for Ed25519SecretKey
impl Default for Ed25519SecretKey
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 Forget for Ed25519SecretKey
impl Freeze for Ed25519SecretKey
impl Move 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