Skip to main content

solana_zk_sdk_pod/
lib.rs

1#![cfg_attr(not(test), no_std)]
2
3pub mod encryption;
4pub mod errors;
5mod macros;
6pub mod primitive_types;
7pub mod range_proof;
8pub mod sigma_proofs;
9
10/// Byte length of a compressed Ristretto point or scalar in Curve25519
11pub const UNIT_LEN: usize = 32;
12/// Byte length of a compressed Ristretto point in Curve25519
13pub const RISTRETTO_POINT_LEN: usize = UNIT_LEN;
14/// Byte length of a scalar in Curve25519
15pub const SCALAR_LEN: usize = UNIT_LEN;