BeeCrypt 4.2.1
Public Member Functions | Data Fields

RSA keypair. More...

#include <rsakp.h>

Collaboration diagram for rsakp:
Collaboration graph
[legend]

Public Member Functions

 rsakp ()
 rsakp (const rsakp &)
 ~rsakp ()

Data Fields

mpbarrett n
 The modulus.
mpnumber e
 The public exponent.
mpnumber d
 The private exponent.
mpbarrett p
 The first prime factor of the modulus.
mpbarrett q
 The second prime factor of the modulus.
mpnumber dp
 the first prime coefficient. $dp=d\ \textrm{mod}\ (p-1)$
mpnumber dq
 the second prime coefficient. $dq=d\ \textrm{mod}\ (q-1)$
mpnumber qi
 the crt coefficient. $qi=q^{-1}\ \textrm{mod}\ p$

Detailed Description

RSA keypair.


Constructor & Destructor Documentation

rsakp::rsakp ( )
rsakp::rsakp ( const rsakp )
rsakp::~rsakp ( )

Field Documentation

The private exponent.

the first prime coefficient. $dp=d\ \textrm{mod}\ (p-1)$

the second prime coefficient. $dq=d\ \textrm{mod}\ (q-1)$

The public exponent.

The modulus.

$n=pq$

The first prime factor of the modulus.

The second prime factor of the modulus.

the crt coefficient. $qi=q^{-1}\ \textrm{mod}\ p$


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