# DaGenix/rust-crypto

A (mostly) pure-Rust implementation of various cryptographic algorithms.

Repository: https://github.com/DaGenix/rust-crypto
Canonical: https://ross.abutalabs.com/products/rust-crypto
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2023-03-20T06:55:07+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4711, "days_push": 1262, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1456, forks 302 (observed 2026-08-28T04:04:46.919555+00:00)

## What it is
A mostly pure-Rust library implementing many common cryptographic algorithms such as AES, SHA-2, ChaCha20, and Ed25519. It aims for practical, auditable implementations with minimal assembly, though it has not been formally audited.

## Use cases
- encrypt and decrypt data with AES in Rust
- compute SHA-2 or SHA-3 hashes in pure Rust
- sign and verify messages with Ed25519
- derive keys with PBKDF2 or Scrypt
- use stream ciphers like ChaCha20 or Salsa20 in Rust

## When to choose
- you need a broad set of crypto algorithms in a single pure-Rust crate
- you want auditable Rust source rather than C bindings
- you need legacy algorithms like MD5, RC4, or Blowfish

## When to avoid
- you need formally audited, production-grade security guarantees
- you only need modern primitives - the RustCrypto ecosystem crates are better maintained
- you require constant-time guarantees verified by experts

## Facets
- artifact type: library
- maturity: maintenance
- function: cryptography, security
- domain: security, developer-tools
- platform: rust, windows
- tags: crypto, aes, sha2, chacha20, ed25519, pure-rust, linux, macos

## Member repositories
- DaGenix/rust-crypto (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:46.919555+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:34.965827+00:00, confidence not recorded.
  - readme: https://github.com/DaGenix/rust-crypto (fetched 2026-08-28T04:04:46.919555+00:00, sha 4d59afb389fa)
  - registry_crates: https://crates.io/api/v1/crates/rust-crypto (fetched 2026-08-29T11:44:32.067082+00:00, sha 5f4f72457c6f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
