Giter Site home page Giter Site logo

block-ciphers's Introduction

RustCrypto: block ciphers

Project Chat dependency status Apache2/MIT licensed HAZMAT

Collection of block ciphers written in pure Rust.

Higher level constructions

Crates in this repository implement ONLY raw block cipher functionality defined by traits in the cipher crate. In practice block ciphers are rarely used in isolation. Instead, they usually play role of a building block for higher level constructions. In RustCrypto such constructions are implemented generically over block ciphers in separate repositories:

Most users should use constructions defined in these repositories without directly relying on raw block cipher functionality.

Warnings

Currently only the aes crate provides constant-time implementation and has received a third-party security audit.

Other crates in this repository are not implemented in a constant-time manner and have not yet received any formal cryptographic and security reviews.

It's generally recommended not to use other cipher implementations in this repository besides the aes crate.

USE AT YOUR OWN RISK.

Supported algorithms

Name Crate name crates.io Docs MSRV
AES (Rijndael) aes crates.io Documentation MSRV 1.56
ARIA aria crates.io Documentation MSRV 1.56
BelT block cipher belt-block crates.io Documentation MSRV 1.56
Blowfish blowfish crates.io Documentation MSRV 1.56
Camellia camellia crates.io Documentation MSRV 1.56
CAST5 (CAST-128) cast5 crates.io Documentation MSRV 1.56
DES + 3DES (DEA, 3DEA) des crates.io Documentation MSRV 1.56
IDEA idea crates.io Documentation MSRV 1.56
Kuznyechik (GOST R 34.12-2015) kuznyechik crates.io Documentation MSRV 1.56
Magma (GOST R 34.12-2015) magma crates.io Documentation MSRV 1.56
RC2 (ARC2) rc2 crates.io Documentation MSRV 1.56
RC5 rc5 crates.io Documentation MSRV 1.56
Serpent serpent crates.io Documentation MSRV 1.56
SM4 sm4 crates.io Documentation MSRV 1.56
Speck speck crates.io Documentation MSRV 1.56
Threefish threefish crates.io Documentation MSRV 1.56
Twofish twofish crates.io Documentation MSRV 1.56

Minimum Supported Rust Version (MSRV) Policy

MSRV bump is considered a breaking change and will be performed only with a minor version bump.

License

All crates licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

block-ciphers's People

Contributors

newpavlov avatar tarcieri avatar dependabot[bot] avatar peterdettman avatar mattjurenka avatar andelf avatar striezel avatar makavity avatar crodriguezvega avatar ignatenkobrain avatar wcampbell0x2a avatar sorairolake avatar luisbg avatar kamilaborowska avatar veykril avatar ltfschoen avatar maximilianthorn avatar aticu avatar lovasoa avatar tholop avatar roblabla avatar theradioguy avatar trojan295 avatar cheme avatar str4d avatar zugzwang avatar kanegreen avatar teythoon avatar cuviper avatar jvdsn avatar

Forkers

ethan42

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.