Struct crypto::rc4::Rc4 [] [src]

pub struct Rc4 {
    // some fields omitted
}

Methods

impl Rc4
[src]

fn new(key: &[u8]) -> Rc4

Trait Implementations

impl Copy for Rc4
[src]

impl Clone for Rc4
[src]

fn clone(&self) -> Rc4

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl SynchronousStreamCipher for Rc4
[src]

fn process(&mut self, input: &[u8], output: &mut [u8])

impl Encryptor for Rc4
[src]

fn encrypt(&mut self, input: &mut RefReadBuffer, output: &mut RefWriteBuffer, _: bool) -> Result<BufferResultSymmetricCipherError>

impl Decryptor for Rc4
[src]

fn decrypt(&mut self, input: &mut RefReadBuffer, output: &mut RefWriteBuffer, _: bool) -> Result<BufferResultSymmetricCipherError>