Collect libraries and packages about cryptography in Rust.
- Collection Library
- Symmetric
- Public-key / Asymmetric
- One-way Hash Function
- Message Authentication Code (MAC)
- Digital Signature
- Rseudo Random Number Generator (PRNG)
- Zero-Knowledge Proofs (ZKP)
- Homomorphic Encryption (HE)
- Secure Multi-party Computation (MPC)
- Theorem
- mesalink MesaLink is a memory safe and OpenSSL-compatible TLS library.
- rage age implementation. A simple, secure and modern encryption tool with small explicit keys, no config options, and UNIX-style composability.
- ring Safe, fast, small crypto using Rust. (curve25519, aes-gcm, sha-256, sha-384, sha-512, hmac, hkdf, pbkdf2, p-256, p-384, x25519, chacha20-poly1305, ed25519).
- rust-crypto A (mostly) pure-Rust implementation of various cryptographic algorithms.
- rustls A modern TLS library in Rust.
- sodiumoxide Sodium Oxide: Fast cryptographic library for Rust (bindings to libsodium).
- orion Usable, easy and safe pure-Rust crypto.
- aeads: Collection of Authenticated Encryption with Associated Data algorithms written in pure Rust.
- block-ciphers Collection of block cipher algorithms written in pure Rust. (AES, Blowfish, DES + 3DES, Kuznyechik, Magma, RC2, Twofish).
- stream-ciphers Collection of stream cipher algorithms.
- RSA RSA implementation in pure Rust. (PKCS1v1.5: Encryption & Decryption, Sign & Verify)
- x25519-dalek Fast and efficient ed25519 signing and verification in Rust. (dalek)
- hashes Collection of cryptographic hash functions written in pure Rust. (sha1, sha2, sha3, md4, md5, BLAKE2, RIPEMD-160, RIPEMD-320, GOST94, Grøstl, Streebog, Whirlpool)
- tiny-keccak A tiny implementation of SHA-3, SHAKE, Keccak, and sha3sum in rust.
- poseidon252 Starkad and Poseidon: New Hash Functions for Zero Knowledge Proof Systems.
- MACs Message authentication code algorithms written in pure Rust. (CMAC, DAA, HMAC, PMAC)
- ed25519-dalek Fast and efficient ed25519 signing and verification in Rust. (dalek)
- signatures Cryptographic signature algorithms (e.g. ECDSA, Ed25519).
- bls Aggregatable BLS sigantures. (w3f)
- milagro_bls BLS12-381 cryptography using Apache Milagro.
- nisty NIST P-256 signatures for Cortex-M4 microcontrollers.
- multi-party-ecdsa Rust implementation of {t,n}-threshold ECDSA (elliptic curve digital signature algorithm).
- multi-party-schnorr Rust implementation of multi-party Schnorr signatures over elliptic curves.
- threshold_crypto A pairing-based threshold cryptosystem for collaborative decryption and signatures.
- multiproof-rs A rust implementation of Alexey Akhunov's multiproof algorithm.
- rand A Rust library for random number generation.
- bulletproofs A pure-Rust implementation of Bulletproofs using Ristretto.
- bellman zk-SNARK library. (zcash - librustzcash).
- bulletproofs Bulletproof Rust implementation for Aggregated Range Proofs over multiple elliptic curves.
- rust-secp256k1-zkp ZKP fork for rust-secp256k1, adds wrappers for range proofs, pedersen commitments, etc
- ZoKrates A toolbox for zkSNARKs on Ethereum
- sonic a protocol for quickly verifiable, compact zero-knowledge proofs of arbitrary computations.
- Dusk-Zerocaf Fast, efficient and bulletproof-friendly cryptographic operations.
- OpenZKP pure Rust implementations of Zero-Knowledge Proof systems.
- marlin A Rust library for the Marlin preprocessing zkSNARK.
- halo (prototype) a zkp system.
white-city Network layer for MPC protocols.(include use Tendermint/TokioServer/RocketServer).
- fiat-crypto Formally verified arithmetic implementations for several elliptic curves and word sizes, extracted to Rust from specifications written using in the Coq theorem prover.
- nalgebra Linear algebra library for Rust.
- num A collection of numeric types and traits for Rust. (Bigint)
- rust-decimal A Decimal Implementation written in pure Rust suitable for financial calculations.
- curve25519-dalek Group operations on Ristretto and Curve25519. (Dalek)
- rust-secp256k1 Rust language bindings for Bitcoin secp256k1 library. (rust-bitcoin)
- libsecp256k1-rs Pure Rust Implementation of secp256k1. (Wei Tang)
- Jubjub Implementation of the Jubjub elliptic curve group.
- BLS12-381 Implementation of the BLS12-381 pairing-friendly elliptic curve group.
- librustzcash Rust-language assets for Zcash. (bellman-zk-SNARK, pairing-elliptic curves)
- zexe Rust library for decentralized private computation.
- RustySecrets A Rust implementation of threshold Shamir's secret sharing.
- Double Ratchet Pure Rust implementation of the Double Ratchet algorithm. (communicate securely).
- molasses A Rust implementation of the Message Layer Security group messaging protocol.
- KDFs Collection of Key Derivation Functions written in pure Rust.
- PAKEs Password-Authenticated Key Agreement protocols. (SRP, spake2)
- password-hashing Password-based key derivation functions. (PBKDF2, scrypt)
- rcmixed Mixed cryptosystem. inspired by PGP.
- kms-secp256k1 Multi Party Key Management System (KMS) for Secp256k1 Elliptic curve based digital signatures.
- MLSAG Multilayered Linkable Spontaneous Anonymous Group, This particular version leverages Ristretto255.
- vdf An implementation of Verifiable Delay Functions in Rust.
- schnorrkel Schnorr VRFs and signatures on the Ristretto group.
Contributions are most welcome
This work is licensed under a Creative Commons Attribution 4.0 International License.