[−][src]Trait crypto::symmetriccipher::Encryptor
Required methods
fn encrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
eof: bool
) -> Result<BufferResult, SymmetricCipherError>
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
eof: bool
) -> Result<BufferResult, SymmetricCipherError>
Implementations on Foreign Types
impl Encryptor for Box<dyn SynchronousStreamCipher + 'static>
[src]
fn encrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
[src]
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
Implementors
impl Encryptor for ChaCha20
[src]
fn encrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
[src]
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
impl Encryptor for Hc128
[src]
fn encrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
[src]
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
impl Encryptor for Rc4
[src]
fn encrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
[src]
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
impl Encryptor for Salsa20
[src]
fn encrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
[src]
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
impl Encryptor for Sosemanuk
[src]
fn encrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
[src]
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
impl<A: BlockEncryptor> Encryptor for CtrMode<A>
[src]
fn encrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
[src]
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
impl<A: BlockEncryptorX8> Encryptor for CtrModeX8<A>
[src]
fn encrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
[src]
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>
impl<T: BlockEncryptor, X: PaddingProcessor> Encryptor for CbcEncryptor<T, X>
[src]
fn encrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
eof: bool
) -> Result<BufferResult, SymmetricCipherError>
[src]
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
eof: bool
) -> Result<BufferResult, SymmetricCipherError>
impl<T: BlockEncryptor, X: PaddingProcessor> Encryptor for EcbEncryptor<T, X>
[src]
fn encrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
eof: bool
) -> Result<BufferResult, SymmetricCipherError>
[src]
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
eof: bool
) -> Result<BufferResult, SymmetricCipherError>