Struct ssb_crypto::ephemeral::EphSecretKey[][src]

pub struct EphSecretKey(pub [u8; 32]);
Expand description

The secret half of an ephemeral key pair; used for deriving a short-term shared secret for secure communication.

Tuple Fields

0: [u8; 32]

Implementations

The size of an EphSecretKey, in bytes (32).

Trait Implementations

Executes the destructor for this type. Read more

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.