PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
libzerocoin::IntegerGroupParams Class Reference

#include <Params.h>

Collaboration diagram for libzerocoin::IntegerGroupParams:
[legend]

Public Member Functions

 IntegerGroupParams ()
 Integer group class, default constructor. More...
 
CBigNum randomElement () const
 Generates a random group element. More...
 
 SERIALIZE_METHODS (IntegerGroupParams, obj)
 

Public Attributes

bool initialized
 
CBigNum g
 A generator for the group. More...
 
CBigNum h
 A second generator for the group. More...
 
CBigNum modulus
 The modulus for the group. More...
 
CBigNum groupOrder
 The order of the group. More...
 

Detailed Description

Definition at line 22 of file Params.h.

Constructor & Destructor Documentation

◆ IntegerGroupParams()

libzerocoin::IntegerGroupParams::IntegerGroupParams ( )

Integer group class, default constructor.

Allocates an empty (uninitialized) set of parameters.

Definition at line 37 of file Params.cpp.

Member Function Documentation

◆ randomElement()

CBigNum libzerocoin::IntegerGroupParams::randomElement ( ) const

Generates a random group element.

Returns
a random element in the group.

Definition at line 41 of file Params.cpp.

Here is the call graph for this function:

◆ SERIALIZE_METHODS()

libzerocoin::IntegerGroupParams::SERIALIZE_METHODS ( IntegerGroupParams  ,
obj   
)
inline

Definition at line 59 of file Params.h.

Member Data Documentation

◆ g

CBigNum libzerocoin::IntegerGroupParams::g

A generator for the group.

Definition at line 40 of file Params.h.

◆ groupOrder

CBigNum libzerocoin::IntegerGroupParams::groupOrder

The order of the group.

Definition at line 57 of file Params.h.

◆ h

CBigNum libzerocoin::IntegerGroupParams::h

A second generator for the group.

Note log_g(h) and log_h(g) must be unknown.

Definition at line 47 of file Params.h.

◆ initialized

bool libzerocoin::IntegerGroupParams::initialized

Definition at line 35 of file Params.h.

◆ modulus

CBigNum libzerocoin::IntegerGroupParams::modulus

The modulus for the group.

Definition at line 52 of file Params.h.


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