[−][src]Trait bundled_crypto::algo::cipher::symmetric::CanEncrypt
Associated Types
Loading content...Required methods
Loading content...Implementors
impl CanEncrypt for bundled_crypto::algo::cipher::aes256::ctr::Algo
[src]
type EKey = Key
type Input = [u8]
type Error = EncryptError
fn encrypt(
&self,
key: &Self::EKey,
msg: &Self::Input
) -> Result<Vec<u8>, Self::Error>
[src]
&self,
key: &Self::EKey,
msg: &Self::Input
) -> Result<Vec<u8>, Self::Error>
impl CanEncrypt for bundled_crypto::algo::cipher::plaintext::Algo
[src]
type Input = [u8]
type Error = EncryptError
type EKey = ()
fn encrypt(
&self,
_: &Self::EKey,
data: &Self::Input
) -> Result<Vec<u8>, Self::Error>
[src]
&self,
_: &Self::EKey,
data: &Self::Input
) -> Result<Vec<u8>, Self::Error>