pub struct PbkdfParameters {
pub iterations: u32,
pub salt: Vec<u8, { crate::crypto::PBKDF_SALT_MAX_BYTES }>,
}Available on crate feature
rustcrypto only.Expand description
The PBKDF salt and iteration count (Crypto_PBKDFParameterSet, §3.9).
Fields§
§iterations: u32CRYPTO_PBKDF_ITERATIONS_MIN <= iterations <= CRYPTO_PBKDF_ITERATIONS_MAX.
salt: Vec<u8, { crate::crypto::PBKDF_SALT_MAX_BYTES }>“A random value per device of at least 16 bytes and at most 32 bytes”.
Implementations§
Trait Implementations§
Source§impl Clone for PbkdfParameters
impl Clone for PbkdfParameters
Source§impl Debug for PbkdfParameters
impl Debug for PbkdfParameters
impl Eq for PbkdfParameters
Source§impl PartialEq for PbkdfParameters
impl PartialEq for PbkdfParameters
impl StructuralPartialEq for PbkdfParameters
Auto Trait Implementations§
impl Forget for PbkdfParameters
impl Freeze for PbkdfParameters
impl Move for PbkdfParameters
impl RefUnwindSafe for PbkdfParameters
impl Send for PbkdfParameters
impl Sync for PbkdfParameters
impl Unpin for PbkdfParameters
impl UnsafeUnpin for PbkdfParameters
impl UnwindSafe for PbkdfParameters
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