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§
type DecryptionBlock
type DecryptionKey
Required Methods§
Sourcefn decrypt(
&self,
data: Self::DecryptionBlock,
key: Self::DecryptionKey,
) -> Self::DecryptionBlock
fn decrypt( &self, data: Self::DecryptionBlock, key: Self::DecryptionKey, ) -> Self::DecryptionBlock
Decrypt the ciphertext.