Curvy.Curve (Curvy v0.2.2) View Source

Describes the secp256k1 elliptic curve.

Link to this section Summary

Types

t()

ECDSA Curve Parameters

Functions

Returns the secp256k1 curve parameters.

Link to this section Types

Specs

t() :: %{
  p: integer(),
  a: integer(),
  b: integer(),
  G: Curvy.Point.t(),
  n: integer(),
  h: integer()
}

ECDSA Curve Parameters

Link to this section Functions

Specs

secp256k1() :: t()

Returns the secp256k1 curve parameters.