pub struct SecretKey<T>(_);
Expand description

SecretKey type

Trait Implementations

Add a ciphertext into another.

Rerandomize a ciphertext in-place. The resulting ciphertext will decrypt to the same plaintext, while being unlinkable to the input ciphertext. Read more

Generate a fresh encryption of the zero plaintext

Use the secret key to generate a fresh encryption of zero

Generate a secret key

Generate a (pk, sk) keypair

Encrypt a given plaintext

Encrypt a given plaintext

Encrypt a given plaintext

Decrypt a ciphertext

Encrypt a given plaintext

Decrypt a ciphertext

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.

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.