Struct crypto::blowfish::Blowfish
[−]
[src]
pub struct Blowfish { // some fields omitted }
Methods
impl Blowfish
[src]
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)
Trait Implementations
impl Copy for Blowfish
[src]
impl Clone for Blowfish
[src]
fn clone(&self) -> Blowfish
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