Struct ssb_crypto::SecretKey [−][src]
Expand description
The secret half of a Keypair
.
Note that a libsodium “secret key” is actually a pair of secret and public keys,
in the same buffer. This is only the secret half, which isn’t much use on its own.
For signing, and deserializing a libsodium secretkey encoded in base64
(as in the ~/.ssb/secret file), see Keypair
.
The underlying memory is zeroed on drop.
Tuple Fields
0: [u8; 32]
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SecretKey
impl UnwindSafe for SecretKey
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self