pub struct X25519SecretKey(pub [u8; 32]);Expand description
X25519 private key: a 32-byte Curve25519 scalar, little-endian (RFC 7748).
Stored unclamped; drivers clamp as part of the X25519 function.
Tuple Fields§
§0: [u8; 32]Trait Implementations§
Source§impl Clone for X25519SecretKey
impl Clone for X25519SecretKey
Source§fn clone(&self) -> X25519SecretKey
fn clone(&self) -> X25519SecretKey
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 X25519SecretKey
Source§impl Debug for X25519SecretKey
impl Debug for X25519SecretKey
Source§impl Default for X25519SecretKey
impl Default for X25519SecretKey
Source§fn default() -> X25519SecretKey
fn default() -> X25519SecretKey
Returns the “default value” for a type. Read more
impl Eq for X25519SecretKey
Source§impl Format for X25519SecretKey
impl Format for X25519SecretKey
Source§impl PartialEq for X25519SecretKey
impl PartialEq for X25519SecretKey
impl StructuralPartialEq for X25519SecretKey
Auto Trait Implementations§
impl Freeze for X25519SecretKey
impl RefUnwindSafe for X25519SecretKey
impl Send for X25519SecretKey
impl Sync for X25519SecretKey
impl Unpin for X25519SecretKey
impl UnsafeUnpin for X25519SecretKey
impl UnwindSafe for X25519SecretKey
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