pub struct SecretKey {
pub x25519: StaticSecret,
pub ed25519: SigningKey,
}
Expand description
Concatenation of an X25519 secret key and an Ed25519 secret key.
Fields§
§x25519: StaticSecret
X25519 secret key (the first 32 bytes)
ed25519: SigningKey
Ed25519 secret key (the last 32 bytes)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SecretKey
impl RefUnwindSafe for SecretKey
impl Send for SecretKey
impl Sync for SecretKey
impl Unpin for SecretKey
impl UnwindSafe for SecretKey
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