Module shadowsocks::crypto [] [src]

Crypto methods for shadowsocks

Reexports

pub use self::cipher::CipherType;
pub use self::cipher::CipherCategory;
pub use self::cipher::CipherResult;
pub use self::stream::StreamCipher;
pub use self::stream::StreamCipherVariant;
pub use self::stream::new_stream;
pub use self::aead::AeadEncryptor;
pub use self::aead::AeadDecryptor;
pub use self::aead::new_aead_encryptor;
pub use self::aead::new_aead_decryptor;

Modules

aead

Aead Ciphers

cipher

Ciphers

crypto

Cipher defined with Rust-Crypto

digest

Message digest algorithm

dummy

Dummy cipher, encrypt and decrypt nothing

openssl

Cipher defined with Rust binding for libcrypto (OpenSSL)

rc4_md5

Rc4Md5 cipher definition

stream

Stream ciphers

table

This module implements the table cipher for fallback compatibility

Enums

CryptoMode

Crypto mode, encrypt or decrypt