Struct hkdf::Hkdf[][src]

pub struct Hkdf<D> where
    D: Input + BlockInput + FixedOutput + Reset + Default + Clone,
    D::OutputSize: ArrayLength<u8>, 
{ pub prk: GenericArray<u8, D::OutputSize>, }

Structure representing the HKDF, capable of HKDF-Expand and HKDF-extract operations.

Fields

Methods

impl<D> Hkdf<D> where
    D: Input + BlockInput + FixedOutput + Reset + Default + Clone,
    D::BlockSize: ArrayLength<u8> + Clone,
    D::OutputSize: ArrayLength<u8>, 
[src]

The RFC5869 HKDF-Extract operation

The RFC5869 HKDF-Expand operation

Trait Implementations

impl<D: Clone> Clone for Hkdf<D> where
    D: Input + BlockInput + FixedOutput + Reset + Default + Clone,
    D::OutputSize: ArrayLength<u8>,
    D::OutputSize: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<D> Send for Hkdf<D>

impl<D> Sync for Hkdf<D>