Module secret

Source

Structs§

RTExposedSecret
A wrapper type representing an exposed secret.
RTSecret
A runtime secret with optional zeroization for the type T and exposure count tracking. It is the runtime version of Secret<T, MEC, EC>.

Type Aliases§

SecrecySecret
A convenience alias for RTSecret with a secret of type T that does not conduct any exposure count checking, i.e. the secret can be exposed infinitely many times. It is meant to function almost identically to secrecy::Secret, except that the signature of .expose_secret(...) method is different.