Struct sha_crypt::Sha512Params
source · pub struct Sha512Params { /* private fields */ }
Expand description
Algorithm parameters.
Implementations§
source§impl Sha512Params
impl Sha512Params
sourcepub fn new(rounds: usize) -> Result<Sha512Params, CryptError>
pub fn new(rounds: usize) -> Result<Sha512Params, CryptError>
Create new algorithm parameters.
Trait Implementations§
source§impl Clone for Sha512Params
impl Clone for Sha512Params
source§fn clone(&self) -> Sha512Params
fn clone(&self) -> Sha512Params
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more