[−][src]Struct rcrypto::cipher_mode::ECBEncrypt
Implementations
impl<C, P> ECBEncrypt<C, P> where
C: Cipher,
P: 'static + Padding,
[src]
C: Cipher,
P: 'static + Padding,
Trait Implementations
impl<C, P> Cipher for ECBEncrypt<C, P> where
C: Cipher,
P: 'static + Padding,
[src]
C: Cipher,
P: 'static + Padding,
type Output = usize
fn block_size(&self) -> Option<usize>
[src]
fn encrypt(
&self,
dst: &mut Vec<u8>,
plaintext_block: &[u8]
) -> Result<usize, CryptoError>
[src]
&self,
dst: &mut Vec<u8>,
plaintext_block: &[u8]
) -> Result<usize, CryptoError>
fn decrypt(
&self,
dst: &mut Vec<u8>,
cipher_block: &[u8]
) -> Result<usize, CryptoError>
[src]
&self,
dst: &mut Vec<u8>,
cipher_block: &[u8]
) -> Result<usize, CryptoError>
impl<C, P> EncryptStream for ECBEncrypt<C, P> where
C: Cipher,
P: 'static + Padding,
[src]
C: Cipher,
P: 'static + Padding,
Auto Trait Implementations
impl<C, P> !RefUnwindSafe for ECBEncrypt<C, P>
impl<C, P> !Send for ECBEncrypt<C, P>
impl<C, P> !Sync for ECBEncrypt<C, P>
impl<C, P> Unpin for ECBEncrypt<C, P> where
C: Unpin,
P: Unpin,
C: Unpin,
P: Unpin,
impl<C, P> UnwindSafe for ECBEncrypt<C, P> where
C: UnwindSafe,
P: UnwindSafe,
C: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,