Struct itsdangerous::key_derivation::Concat
source · [−]pub struct Concat;
Expand description
Derives a key by doing digest(salt + secret_key)
Trait Implementations
sourceimpl DeriveKey for Concat
impl DeriveKey for Concat
fn derive_key<Digest>(
secret_key: &str,
salt: &str
) -> GenericArray<u8, Digest::OutputSize> where
Digest: Input + BlockInput + FixedOutput + Reset + Default + Clone,
Digest::BlockSize: ArrayLength<u8> + Clone,
Digest::OutputSize: ArrayLength<u8>,
Auto Trait Implementations
impl RefUnwindSafe for Concat
impl Send for Concat
impl Sync for Concat
impl Unpin for Concat
impl UnwindSafe for Concat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more