Crate secrecy[][src]

Secret<T> wrapper type for more carefully handling secret values (e.g. passwords, cryptographic keys, access tokens or other credentials)

Structs

Secret

Wrapper type for values that contains secrets, which attempts to limit accidental exposure and ensure secrets are wiped from memory when dropped. (e.g. passwords, cryptographic keys, access tokens or other credentials)

Traits

CloneableSecret

Marker trait for secrets which are allowed to be cloned

DebugSecret

Debugging trait which is specialized for handling secret values

ExposeSecret

Expose a reference to an inner secret

Type Definitions

SecretBox

Box types containing a secret value

SecretString

Secret strings

SecretVec

Vec types containing secret value