Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

InvertibleRabinFunction Class Reference

Invertible Rabin. More...

#include <rabin.h>

Inheritance diagram for InvertibleRabinFunction:

RabinFunction InvertibleTrapdoorFunction TrapdoorFunction TrapdoorFunction List of all members.

Public Methods

 InvertibleRabinFunction (const Integer &n,const Integer &r,const Integer &s,const Integer &p,const Integer &q,const Integer &u)
 InvertibleRabinFunction (RandomNumberGenerator &rng,unsigned int keybits)
 InvertibleRabinFunction (BufferedTransformation &bt)
void DEREncode (BufferedTransformation &bt)const
Integer CalculateInverse (const Integer &x)const
const IntegerGetPrime1 ()const
const IntegerGetPrime2 ()const

Protected Attributes

Integer p
Integer q
Integer u

Detailed Description

Invertible Rabin.

Definition at line 35 of file rabin.h.


Constructor & Destructor Documentation

InvertibleRabinFunction::InvertibleRabinFunction ( const Integer & n,
const Integer & r,
const Integer & s,
const Integer & p,
const Integer & q,
const Integer & u )
 

Definition at line 52 of file rabin.cpp.

InvertibleRabinFunction::InvertibleRabinFunction ( RandomNumberGenerator & rng,
unsigned int keybits )
 

Definition at line 65 of file rabin.cpp.

InvertibleRabinFunction::InvertibleRabinFunction ( BufferedTransformation & bt )
 

Definition at line 112 of file rabin.cpp.


Member Function Documentation

Integer InvertibleRabinFunction::CalculateInverse ( const Integer & in ) const [virtual]
 

Reimplemented from InvertibleTrapdoorFunction.

Definition at line 136 of file rabin.cpp.

void InvertibleRabinFunction::DEREncode ( BufferedTransformation & bt ) const
 

Reimplemented from RabinFunction.

Definition at line 124 of file rabin.cpp.

const Integer & InvertibleRabinFunction::GetPrime1 ( ) const [inline]
 

Definition at line 47 of file rabin.h.

const Integer & InvertibleRabinFunction::GetPrime2 ( ) const [inline]
 

Definition at line 48 of file rabin.h.


Member Data Documentation

Integer InvertibleRabinFunction::p [protected]
 

Definition at line 51 of file rabin.h.

Integer InvertibleRabinFunction::q [protected]
 

Definition at line 51 of file rabin.h.

Integer InvertibleRabinFunction::u [protected]
 

Definition at line 51 of file rabin.h.


The documentation for this class was generated from the following files:
Generated at Mon Jan 15 01:16:52 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000