PZipKey

Trait PZipKey 

Source
pub trait PZipKey {
    // Required methods
    fn kdf(&self) -> KeyDerivation;
    fn material(&self) -> &[u8] ;

    // Provided method
    fn tags(&self) -> PZipTags { ... }
}
Expand description

Wraps a KeyDerivation and input key material.

Required Methods§

Source

fn kdf(&self) -> KeyDerivation

Source

fn material(&self) -> &[u8]

Provided Methods§

Source

fn tags(&self) -> PZipTags

Implementors§

Source§

impl PZipKey for Key<'_>

Source§

impl PZipKey for Password<'_>

Source§

impl PZipKey for RawKey<'_>