Expand description
§Constants
Constants related to the API and the underlying curve
Constants§
- COMPACT_
SIGNATURE_ SIZE - The maximum size of a compact signature
- COMPRESSED_
PUBLIC_ KEY_ SIZE - The size (in bytes) of a compressed public key
- CURVE_
ORDER - The order of the secp256k1 curve
- GENERATOR_
X - The X coordinate of the generator
- GENERATOR_
Y - The Y coordinate of the generator
- MAX_
SIGNATURE_ SIZE - The maximum size of a signature
- MESSAGE_
SIZE - The size (in bytes) of a message
- PUBLIC_
KEY_ SIZE - 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. - SCHNORR_
SIGNATURE_ SIZE - The size of a Schnorr signature
- SECRET_
KEY_ SIZE - The size (in bytes) of a secret key
- UNCOMPRESSED_
PUBLIC_ KEY_ SIZE - The size (in bytes) of an uncompressed public key