Coder Social home page Coder Social logo

crypto2's Introduction

Rust Crypto

License Build & Test crates.io

An all-in-one cryptographic algorithm library in Rust.

Supported Details

๐Ÿšง 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.