Crate shush_rs

Source
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§

SecretBox
Wrapper for the inner secret. Can be exposed by ExposeSecret
SecretGuard
Secret Guard that holds a reference to the secret.
SecretGuardMut
Secret Guard that holds a mutable to reference to the secret.

Traits§

CloneableSecret
Marker trait for secrets which are allowed to be cloned
ExposeSecret
Create a SecretGuard that holds a reference to the secret
Zeroize
Trait for securely erasing values from memory.
ZeroizeOnDrop
Marker trait signifying that this type will Zeroize::zeroize itself on Drop.

Type Aliases§

SecretString
Convenient type alias for Secret Wrapped Strings
SecretVec
Convenient type alias for Secret Wrapped Vectors