Need help with crypto2?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

shadowsocks
145 Stars 12 Forks MIT License 7 Commits 1 Opened issues

Description

The fastest cryptographic library in the galaxy

Services available

!
?

Need anything else?

Contributors list

# 128,600
Rust
Shell
pinyin
tun
7 commits

Rust Crypto

.. contents::

🚧 Interested but not implemented yet ✅ Implemented ❌ Not Interested

Hardware Acceleration

X86/X86-64:

  • ✅ AES
  • ✅ CLMUL
  • ❌ SHA(SHA1)
  • ✅ SHA(SHA2-256)

AArch64:

  • ✅ AES
  • ✅ PMULL
  • ❌ SHA1
  • ✅ SHA2 (SHA2-256)
  • ❌ SHA512 (SHA2-512)
  • ❌ SHA3
  • ❌ SM3
  • ❌ SM4

Digest Algorithms

  • ✅ MD2
  • ✅ MD4
  • ✅ MD5
  • ❌ MD6
  • ✅ SHA1
  • ✅ SHA2-224
  • ✅ SHA2-256
  • ✅ SHA2-384
  • ✅ SHA2-512
  • 🚧 SHA3-256
  • 🚧 SHA3-384
  • 🚧 SHA3-512
  • ✅ SM3
  • ❌ BLAKE2b
  • ❌ BLAKE2s
  • ❌ BLAKE3
  • ❌ RIPEMD
  • ❌ Whirlpool
  • 🚧 GOST

Symmetric Key Encryption (Block Alogrithms)

  • ❌ DES
  • ❌ 3DES
  • ✅ RC2 (or: ARC2)
  • 🚧 RC5
  • ❌ RC6
  • ✅ AES
  • ✅ SM4
  • ✅ Camellia
  • ✅ ARIA
  • 🚧 GOST(Magma、Kuznyechik)
  • ❌ Blowfish
  • ❌ Twofish
  • ❌ Threefish

Stream Cipher Alogrithms

  • ✅ RC4
  • ✅ Chacha20
  • 🚧 ZUC (in Chinese: 祖冲之算法)

Asymmetric Cryptographic Algorithm

  • 🚧 RSA
  • ❌ ED25519
  • 🚧 SM2 (基于椭圆曲线:签名算法、密钥交换算法、加密算法)
  • 🚧 SM9 (基于离散对数的机制:签名算法、密钥交换算法、加密算法)

Authenticated Encryption (AE) Algorithms

  • ✅ Chacha20Poly1305 (RFC7539)
  • ✅ Chacha20Poly1305OpenSSH ([email protected])
  • ✅ AES-CCM
  • ✅ AES-OCB
  • ✅ AES-GCM
  • ✅ AES-GCM-SIV
  • ✅ AES-SIV (AesSivCmac256、AesSivCmac384、AesSivCmac512)

  • ✅ CAMELLIA-CCM

  • ✅ CAMELLIA-GCM

  • ✅ CAMELLIA-GCM-SIV

  • ✅ ARIA-CCM

  • ✅ ARIA-GCM

  • ✅ ARIA-GCM-SIV

  • ✅ SM4-CCM

  • ✅ SM4-GCM

  • ✅ SM4-GCM-SIV

Encryption Algorithms

  • ✅ AES-ECB
  • ✅ AES-CBC
  • ✅ AES-CFB1
  • ✅ AES-CFB8
  • ✅ AES-CFB64
  • ✅ AES-CFB128
  • ✅ AES-OFB
  • ✅ AES-CTR

  • ✅ CAMELLIA-CBC

  • ✅ CAMELLIA-CFB1

  • ✅ CAMELLIA-CFB8

  • ✅ CAMELLIA-CFB64

  • ✅ CAMELLIA-CFB128

  • ✅ CAMELLIA-OFB

  • ✅ CAMELLIA-CTR

  • ✅ ARIA-CBC

  • ✅ ARIA-CFB1

  • ✅ ARIA-CFB8

  • ✅ ARIA-CFB64

  • ✅ ARIA-CFB128

  • ✅ ARIA-OFB

  • ✅ ARIA-CTR

  • ✅ SM4-CBC

  • ✅ SM4-CFB1

  • ✅ SM4-CFB8

  • ✅ SM4-CFB64

  • ✅ SM4-CFB128

  • ✅ SM4-OFB

  • ✅ SM4-CTR

Key Derivation Function (KDF)

  • ✅ HKDF
  • 🚧 Scrypt
  • ❌ PBKDF2

Message Authentication Code (MAC)

  • ✅ HMAC
  • ✅ Poly1305
  • ✅ GMAC
  • ✅ CBC-Mac
  • ✅ CMac

Others

  • 🚧 bcrypt

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.