[−][src]Function shadowsocks::crypto::stream::new_stream
pub fn new_stream(
t: CipherType,
key: &[u8],
iv: &[u8],
mode: CryptoMode
) -> BoxStreamCipher
Generate a specific Cipher with key and initialize vector
pub fn new_stream(
t: CipherType,
key: &[u8],
iv: &[u8],
mode: CryptoMode
) -> BoxStreamCipher
Generate a specific Cipher with key and initialize vector