pub struct SecretKey {
    pub ed: SecretKey,
    pub dh: StaticSecret,
}
Expand description

Concatenation of X25519 static secret (first 32 bytes) and Ed25519 secret key (last 32 bytes).

Fields

ed: SecretKeydh: StaticSecret

Trait Implementations

Derive public key from secret key.

Performs the conversion.

Performs the conversion.

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.

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.