Struct des::Des [−][src]
pub struct Des { /* fields omitted */ }
Data Encryption Standard (DES) block cipher.
Trait Implementations
impl BlockCipher for Des
[src]
impl BlockCipher for Des
[src]impl BlockDecrypt for Des
[src]
impl BlockDecrypt for Des
[src]fn decrypt_block(&self, block: &mut GenericArray<u8, U8>)
[src]
pub fn decrypt_par_blocks(
&self,
blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocks>
)
[src]
&self,
blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocks>
)
pub fn decrypt_blocks(&self, blocks: &mut [GenericArray<u8, Self::BlockSize>])
[src]
impl BlockEncrypt for Des
[src]
impl BlockEncrypt for Des
[src]fn encrypt_block(&self, block: &mut GenericArray<u8, U8>)
[src]
pub fn encrypt_par_blocks(
&self,
blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocks>
)
[src]
&self,
blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocks>
)
pub fn encrypt_blocks(&self, blocks: &mut [GenericArray<u8, Self::BlockSize>])
[src]
impl Clone for Des
[src]
impl Clone for Des
[src]fn clone(&self) -> Des
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl NewBlockCipher for Des
[src]
impl NewBlockCipher for Des
[src]type KeySize = U8
Key size in bytes with which cipher guaranteed to be initialized.
fn new(key: &GenericArray<u8, U8>) -> Self
[src]
pub fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>
[src]
Auto Trait Implementations
Blanket Implementations
impl<Alg> BlockDecryptMut for Alg where
Alg: BlockDecrypt,
[src]
impl<Alg> BlockDecryptMut for Alg where
Alg: BlockDecrypt,
[src]pub fn decrypt_block_mut(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipher>::BlockSize>
)
[src]
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipher>::BlockSize>
)
impl<Alg> BlockEncryptMut for Alg where
Alg: BlockEncrypt,
[src]
impl<Alg> BlockEncryptMut for Alg where
Alg: BlockEncrypt,
[src]pub fn encrypt_block_mut(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipher>::BlockSize>
)
[src]
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipher>::BlockSize>
)
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.