| commit | 410dcf710d16d7719e4ba7f374aef899842dfa05 | [log] [tgz] |
|---|---|---|
| author | Palmer Cox <palmer@fiscalnote.com> | Sat May 07 02:00:12 2016 -0400 |
| committer | Palmer Cox <palmer@fiscalnote.com> | Sat May 07 02:00:12 2016 -0400 |
| tree | c7d5a6d624984fb464c9c8e07a0ad8b845f85413 | |
| parent | 32485111e673df1706a81018c94d659d2d1596e8 [diff] |
Add a feature flag to omit ASM dependencies Compiling the ASM dependencies has turned out to be a major pain point. This commit adds a feature flag to optionally disable support for all algorithms that require ASM.
A (mostly) pure-Rust implementation of various common cryptographic algorithms.
Rust-Crypto seeks to create practical, auditable, pure-Rust implementations of common cryptographic algorithms with a minimum amount of assembly code where appropriate. The x86-64, x86, and ARM architectures are supported, although the x86-64 architecture receives the most testing.
Rust-Crypto targets the current, stable build of Rust. If you are having issues while using an older version, please try upgrading to the latest stable.
Rust-Crypto has not been thoroughly audited for correctness, so any use where security is important is not recommended at this time.
To use Rust-Crypto, add the following to your Cargo.toml:
[dependencies] rust-crypto = "^0.2"
and the following to your crate root:
extern crate crypto;
Contributions are extremely welcome. The most significant needs are help adding documentation, implementing new algorithms, and general cleanup and improvement of the code. By submitting a pull request you are agreeing to make you work available under the license terms of the Rust-Crypto project.
Rust-Crypto is dual licensed under the MIT and Apache 2.0 licenses, the same licenses as the Rust compiler.
Rust-Crypto already supports a significant number of algorithms and with your help it will support even more in the future. Currently supported algorithms include: