Skip to content

rj-calvin/Sodium

Repository files navigation

Sodium - LibSodium FFI Bindings for Lean4

Type-safe Lean4 bindings for the LibSodium cryptographic library, providing compile-time size guarantees and memory-safe cryptographic operations.

Features

  • LibSodium coverage: 14/14 major categories, 100+ FFI function bindings
  • Alloy integration: C code embedded directly in Lean files

Quick Start

# Build the project
lake build

# Run tests
lake build Tests

# Clean build
lake clean && lake build

LibSodium Resources

Status

⚠️ This project is still in development. APIs may change and some features are not yet stabilized.

Current implementation provides FFI bindings for all major LibSodium categories including symmetric/asymmetric encryption, digital signatures, hashing, key exchange, and more.

About

Lean4 bindings for LibSodium.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages