pub struct Pbkdf2Builder<'a, H: HashFunction + Clone, const S: usize = 16> { /* private fields */ }
Expand description
PBKDF2 builder implementation
Implementations§
Source§impl<H: HashFunction + Clone, const S: usize> Pbkdf2Builder<'_, H, S>
impl<H: HashFunction + Clone, const S: usize> Pbkdf2Builder<'_, H, S>
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, const S: usize> KdfOperation<'a, Pbkdf2Algorithm<H>> for Pbkdf2Builder<'a, H, S>where
Salt<S>: Pbkdf2Compatible,
impl<'a, H: HashFunction + Clone, const S: usize> KdfOperation<'a, Pbkdf2Algorithm<H>> for Pbkdf2Builder<'a, H, S>where
Salt<S>: Pbkdf2Compatible,
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, const S: usize> Freeze for Pbkdf2Builder<'a, H, S>
impl<'a, H, const S: usize> RefUnwindSafe for Pbkdf2Builder<'a, H, S>where
H: RefUnwindSafe,
impl<'a, H, const S: usize> Send for Pbkdf2Builder<'a, H, S>where
H: Sync,
impl<'a, H, const S: usize> Sync for Pbkdf2Builder<'a, H, S>where
H: Sync,
impl<'a, H, const S: usize> Unpin for Pbkdf2Builder<'a, H, S>
impl<'a, H, const S: usize> UnwindSafe for Pbkdf2Builder<'a, H, S>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