INNER CODE UNIT · Python

Curve

AntonKueltz/fastecdsa · fastecdsa/curve.py:11

class Curve:
    r"""Representation of an elliptic curve.

    Defines a group with the arithmetic operations of point addition and scalar multiplication.
    Currently only curves defined via the equation :math:`y^2 \equiv x^3 + ax + b \pmod{p}` are
    supported.

    Attributes:
        |  name (str): The name of the curve
        |  p (int): The value of :math:`p` in the curve equation.
        |  a (int): The value of :math:`a` in the curve equation.
        |  b (int): The value of :math:`b` in the curve equation.
        |  q (int): The order of the base point of the curve.
        |  oid (bytes): The object identifier of the curve.
    """

    _oid_lookup: Dict[
        bytes, Curve

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…