Trait BlockDecrypt

Source
pub trait BlockDecrypt {
    type DecryptionBlock;
    type DecryptionKey;

    // Required method
    fn decrypt(
        &self,
        data: Self::DecryptionBlock,
        key: Self::DecryptionKey,
    ) -> Self::DecryptionBlock;
}
Expand description

The decryption half of a block cipher.

Required Associated Types§

Required Methods§

Source

fn decrypt( &self, data: Self::DecryptionBlock, key: Self::DecryptionKey, ) -> Self::DecryptionBlock

Decrypt the ciphertext.

Implementors§