libff
« Back to VersTracker
Description:
C++ library for Finite Fields and Elliptic Curves
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: cryptography elliptic-curves finite-fields zk-snarks c++ library
Install: brew install libff
About:
Libff is a C++ library for finite fields and elliptic curves, designed to support the development of cryptographic protocols like zk-SNARKs. It provides efficient arithmetic operations and supports both ordinary and pairing-friendly curves, making it a foundational component for privacy-preserving blockchain applications.
Key Features:
  • Arithmetic for finite fields and elliptic curves
  • Support for both ordinary and pairing-friendly curves
  • Optimized for cryptographic applications like zk-SNARKs
  • C++ implementation for performance and flexibility
Use Cases:
  • Building zero-knowledge proof systems
  • Developing privacy-focused blockchain protocols
  • Researching elliptic curve cryptography
Alternatives:
  • RELIC – More comprehensive toolkit for cryptographic pairings, but with a larger footprint
  • OpenSSL – General-purpose crypto library, not specialized for elliptic curve research or SNARKs
Version History
Detected Version Rev Change Commit
Sep 18, 2025 9:39pm 0 VERSION_BUMP a92cc785
Sep 18, 2025 2:10pm 0 VERSION_BUMP 9706cb1d