Skip to main content

binius_circuits/
lib.rs

1// Copyright 2026 The Binius Developers
2// Copyright 2025 Irreducible Inc.
3
4//! Standard library of circuit gadgets for Binius64.
5//!
6//! This crate provides pre-built circuit gadgets for common cryptographic and computational
7//! operations, including hash functions (SHA256, SHA512, Blake2, Keccak), elliptic curve
8//! operations (ECDSA, secp256k1), and utility gadgets.
9//!
10//! # When to use this crate
11//!
12//! Use this crate when building circuits with [`binius_frontend`] and you need implementations
13//! of common cryptographic primitives. These gadgets are optimized for Binius64's constraint
14//! system.
15//!
16//! # Related crates
17//!
18//! - [`binius_frontend`] - Circuit construction API that these gadgets build on
19
20#![warn(rustdoc::missing_crate_level_docs)]
21
22pub mod base64;
23pub mod bignum;
24pub mod bitcoin;
25pub mod blake2b;
26pub mod blake2s;
27pub mod blake3;
28pub mod bytes;
29pub mod concat;
30pub mod ecdsa;
31pub mod fixed_byte_vec;
32pub mod float64;
33pub mod hash_based_sig;
34pub mod hmac;
35pub mod jwt_claims;
36pub mod keccak;
37pub mod multiplexer;
38pub mod popcount;
39pub mod ripemd;
40pub mod rs256;
41pub mod secp256k1;
42pub mod sha256;
43pub mod sha3;
44pub mod sha512;
45pub mod shift;
46pub mod skein512;
47pub mod slice;
48pub mod util;