secbox-0.1.1 doesn't have any documentation.
SecBox -- Sensitive data container.
I found myself reimplementing this piece in different projects, so I decided to make it a library.
secbox
provides a primitive which tries to harden protection of the inner
data, preventing certain attack vectors. It can be used as building block to
primitives like SecStr
.
The docs detail the methods used.
This is useful for storing sensitive data like passwords and private keys.
Cargo.toml
= "0.1.0"
Example
// We box the vector, despite only being a container. Techinically, this is
// unnecessary, but it improves the security slightly.
let mut pass = new;
for i in stdin.chars