pub struct TdesEee3 { /* private fields */ }
Expand description
Triple DES (3DES) block cipher.
Trait Implementations§
Source§impl BlockCipher for TdesEee3
impl BlockCipher for TdesEee3
Source§impl BlockDecrypt for TdesEee3
impl BlockDecrypt for TdesEee3
Source§fn decrypt_block(&self, block: &mut GenericArray<u8, U8>)
fn decrypt_block(&self, block: &mut GenericArray<u8, U8>)
Decrypt block in-place
Source§fn decrypt_par_blocks(
&self,
blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocks>,
)
fn decrypt_par_blocks( &self, blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocks>, )
Decrypt several blocks in parallel using instruction level parallelism
if possible. Read more
Source§fn decrypt_blocks(&self, blocks: &mut [GenericArray<u8, Self::BlockSize>])
fn decrypt_blocks(&self, blocks: &mut [GenericArray<u8, Self::BlockSize>])
Decrypt a slice of blocks, leveraging parallelism when available.
Source§impl BlockEncrypt for TdesEee3
impl BlockEncrypt for TdesEee3
Source§fn encrypt_block(&self, block: &mut GenericArray<u8, U8>)
fn encrypt_block(&self, block: &mut GenericArray<u8, U8>)
Encrypt block in-place
Source§fn encrypt_par_blocks(
&self,
blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocks>,
)
fn encrypt_par_blocks( &self, blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocks>, )
Encrypt several blocks in parallel using instruction level parallelism
if possible. Read more
Source§fn encrypt_blocks(&self, blocks: &mut [GenericArray<u8, Self::BlockSize>])
fn encrypt_blocks(&self, blocks: &mut [GenericArray<u8, Self::BlockSize>])
Encrypt a slice of blocks, leveraging parallelism when available.
Source§impl NewBlockCipher for TdesEee3
impl NewBlockCipher for TdesEee3
Source§type KeySize = UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>
type KeySize = UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>
Key size in bytes with which cipher guaranteed to be initialized.
Source§fn new(key: &GenericArray<u8, U24>) -> Self
fn new(key: &GenericArray<u8, U24>) -> Self
Create new block cipher instance from key with fixed size.
Source§fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>
fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>
Create new block cipher instance from key with variable size. Read more
impl Copy for TdesEee3
Auto Trait Implementations§
impl Freeze for TdesEee3
impl RefUnwindSafe for TdesEee3
impl Send for TdesEee3
impl Sync for TdesEee3
impl Unpin for TdesEee3
impl UnwindSafe for TdesEee3
Blanket Implementations§
Source§impl<Alg> BlockDecryptMut for Algwhere
Alg: BlockDecrypt,
impl<Alg> BlockDecryptMut for Algwhere
Alg: BlockDecrypt,
Source§fn decrypt_block_mut(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipher>::BlockSize>,
)
fn decrypt_block_mut( &mut self, block: &mut GenericArray<u8, <Alg as BlockCipher>::BlockSize>, )
Decrypt block in-place
Source§impl<Alg> BlockEncryptMut for Algwhere
Alg: BlockEncrypt,
impl<Alg> BlockEncryptMut for Algwhere
Alg: BlockEncrypt,
Source§fn encrypt_block_mut(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipher>::BlockSize>,
)
fn encrypt_block_mut( &mut self, block: &mut GenericArray<u8, <Alg as BlockCipher>::BlockSize>, )
Encrypt block in-place
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more