pub struct Sha256Params { /* private fields */ }
Expand description
Algorithm parameters.
Implementations§
Source§impl Sha256Params
impl Sha256Params
Sourcepub fn new(rounds: usize) -> Result<Sha256Params, CryptError>
pub fn new(rounds: usize) -> Result<Sha256Params, CryptError>
Create new algorithm parameters.
Trait Implementations§
Source§impl Clone for Sha256Params
impl Clone for Sha256Params
Source§fn clone(&self) -> Sha256Params
fn clone(&self) -> Sha256Params
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 moreSource§impl Debug for Sha256Params
impl Debug for Sha256Params
Auto Trait Implementations§
impl Freeze for Sha256Params
impl RefUnwindSafe for Sha256Params
impl Send for Sha256Params
impl Sync for Sha256Params
impl Unpin for Sha256Params
impl UnwindSafe for Sha256Params
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more