Verified Garbage: An experimental formally verified cryptography library
Web page · https://verified-garbage.dev/posts/announcing-verified-garbage
First seen by Oriel on .
AI summary
Verified Garbage is an experimental cryptography library that uses LLM-generated assembly and Lean proofs to target correctness, defined behavior, constant-time execution, and performance across algorithms and CPU architectures.
- It provides formally verified implementations of every cryptographic algorithm used by pyca/cryptography for x86, x86-64, ARMv7, ARM64, PPC64le, and RISCV64.
- Lean specifications describe algorithms and instruction sets; assembly implementations are proven equivalent to the algorithm specifications and constant-time under the modeled ISA.
- The authors benchmark individual algorithms and a rustls provider against OpenSSL and AWS-LC, but the supplied text gives no numerical benchmark results.
- The assembly and proofs are verified, while LLM-written algorithm and ISA specifications form a trusted computing base that humans must review.
- The project is available as Rust crates, but its authors describe it as experimental and do not currently plan to replace OpenSSL in pyca/cryptography.
#cryptography #lean #formal verification #rust
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hacker News: 8, latest observation ; +1 over observed period since
- Lobsters: 30, latest observation ; +29 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 0, latest observation ; 0 over observed period since
- Lobsters: 21, latest observation ; +21 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50683695 | https://verified-garbage.dev/posts/announcing-verified-garbage/ Read discussion |
| Lobsters | jmjpzz | https://verified-garbage.dev/posts/announcing-verified-garbage/ Read discussion |