22 releases

0.5.8 Nov 2, 2024
0.5.5 Jun 14, 2024
0.5.4 Dec 3, 2023
0.5.3 Nov 28, 2023
0.1.0 Nov 20, 2020

#128 in Cryptography

Download history 12025/week @ 2024-07-23 10305/week @ 2024-07-30 11281/week @ 2024-08-06 11245/week @ 2024-08-13 10693/week @ 2024-08-20 12409/week @ 2024-08-27 10957/week @ 2024-09-03 7649/week @ 2024-09-10 10942/week @ 2024-09-17 10164/week @ 2024-09-24 11844/week @ 2024-10-01 8886/week @ 2024-10-08 10934/week @ 2024-10-15 12621/week @ 2024-10-22 12032/week @ 2024-10-29 10821/week @ 2024-11-05

47,920 downloads per month
Used in 5 crates (2 directly)

MIT license

155KB
3.5K SLoC

shadowsocks-crypto

Build & Test

shadowsocks' flavored cryptographic algorithm in pure Rust.

Supported Ciphers

Stream Ciphers:

  • SS_TABLE
  • SS_RC4_MD5
  • AES_128_CTR, AES_192_CTR, AES_256_CTR
  • AES_128_CFB1, AES_128_CFB8, AES_128_CFB128, AES_192_CFB1, AES_192_CFB8, AES_192_CFB128, AES_256_CFB1, AES_256_CFB8, AES_256_CFB128
  • AES_128_OFB, AES_192_OFB, AES_256_OFB
  • CAMELLIA_128_CTR, CAMELLIA_192_CTR, CAMELLIA_256_CTR
  • CAMELLIA_128_CFB1, CAMELLIA_128_CFB8, CAMELLIA_128_CFB128, CAMELLIA_192_CFB1, CAMELLIA_192_CFB8, CAMELLIA_192_CFB128, CAMELLIA_256_CFB1, CAMELLIA_256_CFB8, CAMELLIA_256_CFB128
  • CAMELLIA_128_OFB, CAMELLIA_192_OFB, CAMELLIA_256_OFB
  • RC4
  • CHACHA20 (IETF Version)

AEAD Ciphers:

  • AES_128_CCM, AES_256_CCM
  • AES_128_GCM, AES_256_GCM
  • AES_128_GCM_SIV, AES_256_GCM_SIV
  • CHACHA20_POLY1305 (IETF Version)
  • XCHACHA20_POLY1305 (IETF Version)
  • AES_128_OCB_TAGLEN128, AES_192_OCB_TAGLEN128, AES_256_OCB_TAGLEN128
  • AES_SIV_CMAC_256, AES_SIV_CMAC_384, AES_SIV_CMAC_512
  • SM4_GCM, SM4_CCM

AEAD 2022 Ciphers (SIP022):

  • AEAD2022_BLAKE3_AES_128_GCM, AEAD2022_BLAKE3_AES_256_GCM
  • AEAD2022_BLAKE3_CHACHA20_POLY1305, AEAD2022_BLAKE3_CHACHA8_POLY1305

Dependencies

~0.2–8.5MB
~87K SLoC