Tdes

Trait Tdes 

Source
pub trait Tdes: CryptoClient {
    // Provided methods
    fn decrypt_tdes<'c>(
        &'c mut self,
        key: KeyId,
        message: &[u8],
    ) -> ClientResult<'c, Decrypt, Self> { ... }
    fn encrypt_tdes<'c>(
        &'c mut self,
        key: KeyId,
        message: &[u8],
    ) -> ClientResult<'c, Encrypt, Self> { ... }
}
Available on crate features crypto-client and tdes only.

Provided Methods§

Source

fn decrypt_tdes<'c>( &'c mut self, key: KeyId, message: &[u8], ) -> ClientResult<'c, Decrypt, Self>

Source

fn encrypt_tdes<'c>( &'c mut self, key: KeyId, message: &[u8], ) -> ClientResult<'c, Encrypt, Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§