Struct crypto::blowfish::Blowfish
[−]
[src]
pub struct Blowfish { // some fields omitted }
pub struct Blowfish { // some fields omitted }
impl Blowfish
fn new(key: &[u8]) -> Blowfish
fn init_state() -> Blowfish
fn expand_key(&mut self, key: &[u8])
fn salted_expand_key(&mut self, salt: &[u8], key: &[u8])
fn encrypt(&self, l: u32, r: u32) -> (u32, u32)
impl BlockEncryptor for Blowfish
fn block_size(&self) -> usize
fn encrypt_block(&self, input: &[u8], output: &mut [u8])
impl BlockDecryptor for Blowfish
fn block_size(&self) -> usize
fn decrypt_block(&self, input: &[u8], output: &mut [u8])
impl Copy for Blowfish
impl Clone for Blowfish
fn clone(&self) -> Blowfish
fn clone_from(&mut self, source: &Self)