[][src]Module shadowsocks::crypto

Crypto methods for shadowsocks

Re-exports

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

Modules

aead

Aead Ciphers

cipher

Ciphers

dummy

Dummy cipher, encrypt and decrypt nothing

openssl

Cipher defined with Rust binding for libcrypto (OpenSSL)

rc4_md5

Rc4Md5 cipher definition

ring

Cipher defined with Ring

sodium

Cipher defined with libsodium

stream

Stream ciphers

table

This module implements the table cipher for fallback compatibility

Enums

CryptoMode

Crypto mode, encrypt or decrypt