Expand description
This is a fork of the secrets crate.
This crate adds mlock
to lock the secret’s page in memory
Re-exports§
pub use zeroize;
Structs§
- Secret
Box - Wrapper for the inner secret. Can be exposed by
ExposeSecret
- Secret
Guard - Secret Guard that holds a reference to the secret.
- Secret
Guard Mut - Secret Guard that holds a mutable to reference to the secret.
Traits§
- Cloneable
Secret - Marker trait for secrets which are allowed to be cloned
- Expose
Secret - Create a SecretGuard that holds a reference to the secret
- Zeroize
- Trait for securely erasing values from memory.
- Zeroize
OnDrop - Marker trait signifying that this type will
Zeroize::zeroize
itself onDrop
.
Type Aliases§
- Secret
String - Convenient type alias for Secret Wrapped Strings
- Secret
Vec - Convenient type alias for Secret Wrapped Vectors