pub trait Pbkdf {
// Required methods
fn info(&self) -> PbkdfInfo;
fn derive(
&self,
buf: &mut [u8],
password: &[u8],
salt: &[u8],
cpu_cost: u64,
) -> Result<(), Box<dyn Error + 'static>>;
}
Expand description
A stateless (oneshot) PBKDF interface