Module secp256k1zkp::constants

source ·
Expand description

Constants

Constants related to the API and the underlying curve

Constants

The size of an agg sig
The maximum size of an optional message embedded in a bullet proof
The maximum size of a compact signature
The size (in bytes) of a compressed public key
The order of the secp256k1 curve
Generator G
Generator H (as compressed curve point (3))
The size of a generator point
The max size of a range proof
The maximum size of a signature
The size (in bytes) of a message
The size of a Pedersen commitment
The size of a Pedersen commitment
The maximum size of a message embedded in a range proof
The size (in bytes) of a public key array. This only needs to be 65 but must be 72 for compatibility with the ArrayVec library.
The size (in bytes) of a secret key
The size of a single Bullet proof
The size (in bytes) of an uncompressed public key