Struct crypto::blowfish::Blowfish [−][src]
pub struct Blowfish { /* fields omitted */ }
Methods
impl Blowfish
[src]
impl Blowfish
pub fn new(key: &[u8]) -> Blowfish
[src]
pub fn new(key: &[u8]) -> Blowfish
pub fn init_state() -> Blowfish
[src]
pub fn init_state() -> Blowfish
pub 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 Blowfish
fn clone(&self) -> Blowfish
[src]
fn clone(&self) -> Blowfish
Returns 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 Blowfish
impl BlockEncryptor for Blowfish
[src]
impl BlockEncryptor for Blowfish
impl BlockDecryptor for Blowfish
[src]
impl BlockDecryptor for Blowfish