secp 0.6.0

A flexible and secure secp256k1 elliptic curve math library with constant-time support and superb ergonomics.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![doc = include_str!("../README.md")]
#![doc = include_str!("../doc/API.md")]

#[cfg(all(not(feature = "secp256k1"), not(feature = "k256")))]
compile_error!("At least one of the `secp256k1` or `k256` features must be enabled.");

mod arithmetic;
pub mod errors;
mod points;
mod scalars;
mod serde;

pub use points::*;
pub use scalars::*;