Module constants
Expand description
Constants related to the API and the underlying curve.
Constantsยง
- COMPACT_
SIGNATURE_ SIZE - The maximum size of a compact signature.
- CURVE_
ORDER - The order of the secp256k1 curve.
- FIELD_
SIZE - The Prime for the secp256k1 field element.
- GENERATOR_
X - The X coordinate of the generator.
- GENERATOR_
Y - The Y coordinate of the generator.
- KEY_
PAIR_ SIZE - The size of a key pair.
- 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 serialized public key.
- SCHNORRSIG_
PUBLIC_ KEY_ SIZE Deprecated - The size of a Schnorr public key.
- SCHNORRSIG_
SIGNATURE_ SIZE Deprecated - The size of a Schnorr signature.
- SCHNORR_
PUBLIC_ KEY_ SIZE - The size of a Schnorr public key.
- 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 serialized uncompressed public key.