mirror of
https://github.com/luxfi/crypto.git
synced 2026-07-27 01:54:50 +00:00
1.6 KiB
1.6 KiB
AI Assistant Knowledge Base
Last Updated: 2025-08-15 Project: crypto Organization: lux
Project Overview
This repository contains the Lux post-quantum cryptography implementation.
Essential Commands
Development
# Run tests
make test
# Run with coverage
make test-coverage
# Run benchmarks
make bench
# Full CI suite
make ci
Architecture
The Lux crypto library provides comprehensive post-quantum cryptography support including:
- ML-KEM (Module-Lattice-based Key Encapsulation Mechanism)
- ML-DSA (Module-Lattice-Based Digital Signature Algorithm)
- SLH-DSA (Stateless Hash-Based Digital Signature Algorithm)
- BLS signatures
- Corona ring signatures
- SHAKE hash functions
Key Technologies
- Go 1.21+
- Cloudflare CIRCL library for post-quantum cryptography
- CGO optimizations for performance
- Comprehensive test coverage
Development Workflow
- Implement cryptographic algorithms using Cloudflare CIRCL
- Add comprehensive unit tests
- Implement precompiled contracts for EVM integration
- Run full test suite and benchmarks
- Update documentation
Context for All AI Assistants
This file (LLM.md) serves as the central knowledge base for AI assistants working on this project.
Rules for AI Assistants
- ALWAYS update LLM.md with significant discoveries
- NEVER commit AI-generated summary files
- NEVER create redundant documentation - update existing files
- Follow Go coding standards and best practices
- Ensure all implementations are properly tested
Note: This file serves as the single source of truth for all AI assistants working on this project.