Crate ring_compat

source ·
Expand description

ring-compat

crate Docs Build Status Ring Version Rust Version Apache2/MIT licensed Project Chat

Compatibility crate for using RustCrypto’s traits with the cryptographic algorithm implementations from ring.

Documentation

Minimum Supported Rust Version

Rust 1.65 or higher.

In the future the minimum supported Rust version can be changed, but it will be done 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.

Features

Functionality in this crate is gated under the following features:

  • aead: Authenticated Encryption with Associated Data algorithms: AES-GCM, ChaCha20Poly1305
  • digest: Cryptographic Hash Functions: SHA-1, SHA-256, SHA-384, SHA-512, SHA-512/256
  • signature: Digital Signature Algorithms, gated under the following features:
    • ecdsa: Elliptic Curve Digital Signature Algorithm
    • ed25519: Edwards Digital Signature Algorithm instantiated over Curve25519
    • p256: ECDSA/NIST P-256
    • p384: ECDSA/NIST P-384

Re-exports

Modules

  • aeadaead
    Authenticated Encryption with Associated Data Algorithms: AES-GCM, ChaCha20Poly1305
  • digestdigest
    Digest algorithms: SHA-1, SHA-256, SHA-384, SHA-512
  • signaturesignature
    Digital signatures: ECDSA (P-256/P-384), Ed25519