spark_cryptography/lib.rs
1pub mod key;
2
3#[cfg(feature = "self-signing")]
4pub mod key_arithmetic;
5
6#[cfg(feature = "self-signing")]
7pub mod signing;
8
9#[cfg(feature = "self-signing")]
10pub mod secret_sharing;
11
12pub mod adaptor_signature;
13
14pub mod utils;
15
16/// Includes constants for the secp256k1 curve.
17pub mod secp256k1 {
18 /// The curve order for secp256k1.
19 pub const CURVE_ORDER: &str =
20 "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141";
21
22 /// The radix for the curve order.
23 pub const CURVE_RADIX: u32 = 16;
24}