Struct crypto::blowfish::Blowfish [−][src]
pub struct Blowfish { /* fields omitted */ }Methods
impl Blowfish[src]
impl Blowfishpub fn new(key: &[u8]) -> Blowfish[src]
pub fn new(key: &[u8]) -> Blowfishpub fn init_state() -> Blowfish[src]
pub fn init_state() -> Blowfishpub fn expand_key(&mut self, key: &[u8])[src]
pub fn expand_key(&mut self, key: &[u8])pub fn salted_expand_key(&mut self, salt: &[u8], key: &[u8])[src]
pub fn salted_expand_key(&mut self, salt: &[u8], key: &[u8])pub fn encrypt(&self, l: u32, r: u32) -> (u32, u32)[src]
pub fn encrypt(&self, l: u32, r: u32) -> (u32, u32)Trait Implementations
impl Clone for Blowfish[src]
impl Clone for Blowfishfn clone(&self) -> Blowfish[src]
fn clone(&self) -> BlowfishReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Blowfish[src]
impl Copy for Blowfishimpl BlockEncryptor for Blowfish[src]
impl BlockEncryptor for Blowfishimpl BlockDecryptor for Blowfish[src]
impl BlockDecryptor for Blowfish