Expand description
A data type suitable for storing sensitive information such as passwords and private keys in memory, featuring constant time equality, mlock and zeroing out.
Structs§
- SecBox
- A data type suitable for storing sensitive information such as passwords and private keys in memory, that implements:
- SecUtf8
- Wrapper for a vector that stores a valid UTF-8 string
- SecVec
- A data type suitable for storing sensitive information such as passwords and private keys in memory, that implements:
Traits§
- NoPadding
Bytes - Guarantees that there are no padding bytes in types implementing this trait.
Functions§
- zero_
out_ ⚠secbox - Overwrite the contents with zeros. This is automatically done in the destructor.
Type Aliases§
- SecStr
- Type alias for a vector that stores just bytes