logo
Expand description

Secret keys for elliptic curves (i.e. private scalars)

The SecretKey type is a wrapper around a secret scalar value which is designed to prevent unintentional exposure (e.g. via Debug or other logging).

When the zeroize feature of this crate is enabled, it also handles zeroing it out of memory securely on drop.

Structs

Newtype wrapper for FieldBytes which impls Zeroize.

Elliptic curve secret keys.

Traits

Inner value stored by a SecretKey.