pub struct Pbkdf2Builder<'a, H: HashFunction + Clone> { /* private fields */ }
Expand description
PBKDF2 builder implementation
Implementations§
Source§impl<H: HashFunction + Clone> Pbkdf2Builder<'_, H>
impl<H: HashFunction + Clone> Pbkdf2Builder<'_, H>
Sourcepub fn with_iterations(self, iterations: u32) -> Self
pub fn with_iterations(self, iterations: u32) -> Self
Set the number of iterations
Trait Implementations§
Source§impl<'a, H: HashFunction + Clone> KdfOperation<'a, Pbkdf2Algorithm<H>> for Pbkdf2Builder<'a, H>
impl<'a, H: HashFunction + Clone> KdfOperation<'a, Pbkdf2Algorithm<H>> for Pbkdf2Builder<'a, H>
Source§fn with_output_length(self, length: usize) -> Self
fn with_output_length(self, length: usize) -> Self
Set the desired output length
Auto Trait Implementations§
impl<'a, H> Freeze for Pbkdf2Builder<'a, H>
impl<'a, H> RefUnwindSafe for Pbkdf2Builder<'a, H>where
H: RefUnwindSafe,
impl<'a, H> Send for Pbkdf2Builder<'a, H>where
H: Sync,
impl<'a, H> Sync for Pbkdf2Builder<'a, H>where
H: Sync,
impl<'a, H> Unpin for Pbkdf2Builder<'a, H>
impl<'a, H> UnwindSafe for Pbkdf2Builder<'a, H>where
H: RefUnwindSafe,
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