Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Verified Garbage: An experimental formally verified cryptography library

Cryptography library developers often grapple with trade-offs between performance, security, and verifiability. Writing code in assembly can boost performance but makes it difficult to review and ensure correctness. High-level languages, on the other hand, are easier to work with but can introduce issues like buffer overflows. Verified Garbage is an experimental cryptography library designed to address these challenges by writing code in assembly and rigorously verifying its properties, such as correctness, well-definedness, and constant-timeness.

This approach is inspired by AWS's s2n-bignum library and enables the use of large language models (LLMs) to implement sophisticated optimizations with confidence in correctness. The library starts with Lean specifications for cryptographic algorithms and CPU instruction sets, followed by assembly implementation and formal proofs to ensure equivalence with the specified algorithms and constant-time behavior.

Benchmark results show the library's performance on AMD Ryzen 9 9950X and Apple M1 Max, comparing it to OpenSSL 4.1.0 and AWS-LC 5.12.0. While the library's performance may vary depending on the instruction set, it represents a target for optimized implementation. The library's specifications, written by LLMs and reviewed by humans, form the trusted computing base and require human review.

The developers aim to continuously optimize the library for every algorithm and architecture and explore ways to bolster trust in the Trusted Computing Base (TCB), such as potentially replacing LLM-authored specifications with community-maintained, human-authored ones. The library, written as a Rust library, is available on crates.io and can be used in TLS with a rustls provider.

The project underscores the developers' commitment to building a trustworthy cryptography library and welcomes feedback and ideas from potential users.

Rewritten by urgent.news; may contain errors — check the original.

Source: verified-garbage.dev

Read the original at verified-garbage.dev →

Report a problem with this story

More in Tech

My directory publishes 4,289 review counts. None of them is a review.

Every card in my AI tool directory carries a star rating. I have never looked at where those stars come from, because the column felt like the one number on the page I could not get wrong: it was not…

  • Directory has 4,289 review counts but none are actual reviews
  • Ratings generated by auto-generation or URL hash, not human reviewers
  • Only 3 route handlers exist, no review form for readers

How We Built a Multi-Tenant Invoicing & Inventory SaaS on Next.js 15, Cloudflare Workers & D1

When we started building AuraInvoice at Aura Core Digital , we wanted a fast, global invoicing and auto-stock inventory SaaS that runs at the edge with near-zero cold starts and zero credit card…

  • AuraCore Digital built AuraInvoice using Next.js 15, Cloudflare Workers, and Cloudflare D1.
  • Multi-tenant data isolated by user account ID in Cloudflare D1 SQL database.
  • Free Forever Starter tier launched in 48 hours at https://aurainvoice.com.

More from Sunday, 29 November 2026 →