Skip to content

Add built-in cryptographic constants (e.g. secp256k1 curve order) #3967

Open
@pcaversaccio

Description

@pcaversaccio

It would be useful to have certain cryptographic constants as built-in constants:

Example:

  • The order of the secp256k1 curve : 0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141
  • The order of the secp256r1 curve : 0xffffffff00000000ffffffffffffffffbce6faada7179e84f3b9cac2fc632551

Furthermore, we could add some important BLS constants for example. A good reference/database on these constants can be found here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions