https://github.com/cryptocorrosion/cryptocorrosion
Performance crypto in pure Rust
https://github.com/cryptocorrosion/cryptocorrosion
cipher crypto cryptography hash rust
Last synced: 13 days ago
JSON representation
Performance crypto in pure Rust
- Host: GitHub
- URL: https://github.com/cryptocorrosion/cryptocorrosion
- Owner: cryptocorrosion
- License: apache-2.0
- Created: 2019-02-01T21:32:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-09T20:02:20.000Z (10 months ago)
- Last Synced: 2025-10-26T00:23:58.138Z (3 months ago)
- Topics: cipher, crypto, cryptography, hash, rust
- Language: Rust
- Homepage:
- Size: 656 KB
- Stars: 54
- Watchers: 4
- Forks: 34
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Cryptocorrosion
Cryptographic algorithms in pure Rust.
The main interface to these crates is the RustCrypto traits.
All crates are no-std compatible.
Minimum Rust version: 1.61.0
## Supported algorithms
### Cryptographic hashes
| Algo | Crate name | SIMD |
| ------ | ------------- | ------------------ |
| Blake | blake-hash | [1] |
| Grøstl | groestl-aesni | :heavy_check_mark: |
| JH | jh-x86\_64 | :heavy_check_mark: |
| Skein | skein-hash | :x: |
[1] SIMD is available for builds with target-cpu/target-feature configured, but
runtime CPU detection is not yet supported.
### Block ciphers
| Algo | Crate name | SIMD |
| ---------- | ---------------- | ------------------ |
| Threefish | threefish-cipher | :x: |
### Stream ciphers
| Algo | Crate name | SIMD |
| ---------- | ---------- | ------------------ |
| ChaCha | c2-chacha | :heavy_check_mark: |
## License
All crates licensed under either of
* [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
* [MIT license](http://opensource.org/licenses/MIT)
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.