NZMATH  1.2.0
About: NZMATH is a Python based number theory oriented calculation system.
  Fossies Dox: NZMATH-1.2.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

nzmath.ecpp.Elliptic Class Reference
Inheritance diagram for nzmath.ecpp.Elliptic:
[legend]
Collaboration diagram for nzmath.ecpp.Elliptic:
[legend]

Public Member Functions

def __init__ (self, coefficient, modulus)
 
def add (self, P, Q)
 
def sub (self, P, Q)
 
def mul (self, k, P)
 
def choose_point (self)
 

Public Attributes

 modulus
 
 b
 
 f
 

Detailed Description

The class is for operations of elliptic curve points.

Definition at line 167 of file ecpp.py.

Constructor & Destructor Documentation

◆ __init__()

def nzmath.ecpp.Elliptic.__init__ (   self,
  coefficient,
  modulus 
)

Definition at line 171 of file ecpp.py.

Member Function Documentation

◆ add()

◆ choose_point()

def nzmath.ecpp.Elliptic.choose_point (   self)
Choose point on E_{a,b}(Z_n)
Algorithm 27 (Atkin-morain ECPP) Step5

Definition at line 226 of file ecpp.py.

References nzmath.ecpp.Elliptic.f, and nzmath.ecpp.Elliptic.modulus.

◆ mul()

◆ sub()

def nzmath.ecpp.Elliptic.sub (   self,
  P,
  Q 
)

Member Data Documentation

◆ b

◆ f

◆ modulus


The documentation for this class was generated from the following file: