#cryptography

shadowsocks-crypto

Shadowsocks Crypto

5 releases

0.2.5 Jan 5, 2022
0.2.4 Apr 18, 2021
0.2.0 Mar 23, 2021
0.1.2 Jan 4, 2021
0.1.0 Nov 20, 2020

#94 in Cryptography

Download history 540/week @ 2021-09-26 710/week @ 2021-10-03 737/week @ 2021-10-10 469/week @ 2021-10-17 624/week @ 2021-10-24 527/week @ 2021-10-31 605/week @ 2021-11-07 430/week @ 2021-11-14 538/week @ 2021-11-21 466/week @ 2021-11-28 1154/week @ 2021-12-05 2557/week @ 2021-12-12 353/week @ 2021-12-19 229/week @ 2021-12-26 551/week @ 2022-01-02 422/week @ 2022-01-09

1,575 downloads per month
Used in 3 crates (via shadowsocks)

MIT license

115KB
2.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

Dependencies

~0.9–3.5MB
~79K SLoC