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
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).