Skip to content
/ crypto Public

Lux C++ cryptography library - BLS12-381 pairings, ML-DSA, ML-KEM post-quantum signatures

License

Notifications You must be signed in to change notification settings

luxcpp/crypto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lux-crypto

High-performance C++ cryptography library for the Lux Network.

Features

  • BLS12-381 - Pairing-friendly curves for threshold signatures
  • ML-DSA - Post-quantum digital signatures (CRYSTALS-Dilithium)
  • ML-KEM - Post-quantum key encapsulation (CRYSTALS-Kyber)
  • secp256k1 - Ethereum-compatible ECDSA

Installation

cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
cmake --install build --prefix /usr/local

Usage

CMake

find_package(lux-crypto REQUIRED)
target_link_libraries(myapp PRIVATE lux::crypto)

pkg-config (for CGO)

export CGO_CFLAGS=$(pkg-config --cflags lux-crypto)
export CGO_LDFLAGS=$(pkg-config --libs lux-crypto)

Go Bindings

See github.com/luxfi/crypto for Go bindings.

Documentation

License

BSD-3-Clause - See LICENSE

About

Lux C++ cryptography library - BLS12-381 pairings, ML-DSA, ML-KEM post-quantum signatures

Resources

License

Stars

Watchers

Forks

Packages

No packages published