Skip to main content

pathfinder_crypto/
lib.rs

1//! Pathfinder_crypto is a library for cryptographic primitives used by
2//! Starknet.
3
4/// Contains algebra such as finite fields and elliptic curves.
5pub mod algebra;
6
7/// Contains hash functions such as Pedersen and Poseidon.
8pub mod hash;
9
10/// Contains signature functions such as ECDSA.
11pub mod signature;
12
13pub use algebra::{
14    AffinePoint,
15    CurveOrderMontFelt,
16    DecParseError,
17    Felt,
18    HexParseError,
19    MontFelt,
20    OverflowError,
21    ProjectivePoint,
22};