Module secp256k1::constants[][src]

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

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.

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