[][src]Module secp256k1::constants

Constants

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

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

Size of a Schnorr public key

SCHNORRSIG_SIGNATURE_SIZE

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