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.
- ELLSWIFT_
ENCODING_ SIZE - The size of a full ElligatorSwift encoding.
- 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.
- ONE
- The value one as big-endian array of bytes.
- PUBLIC_
KEY_ SIZE - The size (in bytes) of a serialized public key.
- 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.
- ZERO
- The value zero as an array of bytes.