Enum pretty_good::StringToKey
[−]
[src]
pub enum StringToKey { Simple(HashAlgorithm), Salted(HashAlgorithm, [u8; 8]), IteratedSalted(HashAlgorithm, [u8; 8], u32), }
Variants
Simple(HashAlgorithm)
Salted(HashAlgorithm, [u8; 8])
IteratedSalted(HashAlgorithm, [u8; 8], u32)
Methods
impl StringToKey
[src]
pub fn from_bytes(bytes: &[u8]) -> Result<StringToKey, Error>
[src]
Trait Implementations
impl Clone for StringToKey
[src]
fn clone(&self) -> StringToKey
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more