{"id":41261211,"url":"https://github.com/crane-valley/kylix","last_synced_at":"2026-01-28T15:00:44.771Z","repository":{"id":333967856,"uuid":"1139468293","full_name":"crane-valley/kylix","owner":"crane-valley","description":"A post-quantum cryptography library implementing NIST FIPS standards in pure Rust.","archived":false,"fork":false,"pushed_at":"2026-01-28T00:18:37.000Z","size":24711,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-28T00:37:00.790Z","etag":null,"topics":["cryptography","dilithium","fips-203","fips-204","fips-205","kyber","lattice-cryptography","ml-dsa","ml-kem","no-std","post-quantum","pqc","rust","security","slh-dsa"],"latest_commit_sha":null,"homepage":"https://kylix-pqc.dev","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crane-valley.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-22T02:03:13.000Z","updated_at":"2026-01-28T00:07:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/crane-valley/kylix","commit_stats":null,"previous_names":["crane-valley/kylix"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/crane-valley/kylix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-valley%2Fkylix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-valley%2Fkylix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-valley%2Fkylix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-valley%2Fkylix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crane-valley","download_url":"https://codeload.github.com/crane-valley/kylix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-valley%2Fkylix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptography","dilithium","fips-203","fips-204","fips-205","kyber","lattice-cryptography","ml-dsa","ml-kem","no-std","post-quantum","pqc","rust","security","slh-dsa"],"created_at":"2026-01-23T02:00:08.614Z","updated_at":"2026-01-28T15:00:44.580Z","avatar_url":"https://github.com/crane-valley.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kylix\n\n[![CI](https://github.com/crane-valley/kylix/actions/workflows/ci.yml/badge.svg)](https://github.com/crane-valley/kylix/actions/workflows/ci.yml)\n[![Crates.io](https://img.shields.io/crates/v/kylix-pqc.svg)](https://crates.io/crates/kylix-pqc)\n[![Documentation](https://docs.rs/kylix-pqc/badge.svg)](https://docs.rs/kylix-pqc)\n[![Website](https://img.shields.io/badge/Website-kylix--pqc.dev-blue)](https://kylix-pqc.dev/)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![MSRV](https://img.shields.io/badge/MSRV-1.75-blue.svg)](https://blog.rust-lang.org/2023/12/28/Rust-1.75.0.html)\n\nA post-quantum cryptography library implementing NIST FIPS standards in pure Rust.\n\n## Features\n\n- **ML-KEM** (FIPS 203): Module-Lattice-Based Key Encapsulation Mechanism\n  - ML-KEM-512 (Security Level 1)\n  - ML-KEM-768 (Security Level 3)\n  - ML-KEM-1024 (Security Level 5)\n- `no_std` compatible for embedded systems\n- Constant-time implementations to prevent timing attacks\n- Secure memory handling with automatic zeroization\n- Comprehensive test coverage including known-answer tests\n\n## Installation\n\nAdd to your `Cargo.toml`:\n\n```toml\n[dependencies]\nkylix-pqc = \"0.2\"\n```\n\n## Usage\n\n```rust\nuse kylix_pqc::ml_kem::{MlKem768, Kem};\nuse rand::rngs::OsRng;\n\nfn main() -\u003e kylix_pqc::Result\u003c()\u003e {\n    // Generate a key pair\n    let (decapsulation_key, encapsulation_key) = MlKem768::keygen(\u0026mut OsRng)?;\n\n    // Sender: Encapsulate a shared secret\n    let (ciphertext, shared_secret_sender) = MlKem768::encaps(\u0026encapsulation_key, \u0026mut OsRng)?;\n\n    // Receiver: Decapsulate the shared secret\n    let shared_secret_receiver = MlKem768::decaps(\u0026decapsulation_key, \u0026ciphertext)?;\n\n    // Both parties now have the same shared secret\n    assert_eq!(shared_secret_sender.as_ref(), shared_secret_receiver.as_ref());\n\n    Ok(())\n}\n```\n\n## Crate Structure\n\n| Crate | Description |\n|-------|-------------|\n| `kylix-pqc` | Main crate with re-exports |\n| `kylix-core` | Core traits and utilities |\n| `kylix-ml-kem` | ML-KEM (FIPS 203) implementation |\n| `kylix-cli` | Command-line interface |\n\n## Security\n\n**WARNING**: This library has not been audited. Use at your own risk.\n\nSee [SECURITY.md](SECURITY.md) for security policy and reporting vulnerabilities.\n\n## Minimum Supported Rust Version\n\nThis crate requires Rust 1.75 or later.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## Contributing\n\nContributions are welcome! Please read our contributing guidelines before submitting PRs.\n\n## References\n\n- [FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard](https://csrc.nist.gov/pubs/fips/203/final)\n- [FIPS 204: Module-Lattice-Based Digital Signature Standard](https://csrc.nist.gov/pubs/fips/204/final)\n- [FIPS 205: Stateless Hash-Based Digital Signature Standard](https://csrc.nist.gov/pubs/fips/205/final)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrane-valley%2Fkylix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrane-valley%2Fkylix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrane-valley%2Fkylix/lists"}