BeeCrypt  4.2.1
Public Member Functions | Data Fields
rsakp Struct Reference

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. More...
 
mpnumber e
 The public exponent. More...
 
mpnumber d
 The private exponent. More...
 
mpbarrett p
 The first prime factor of the modulus. More...
 
mpbarrett q
 The second prime factor of the modulus. More...
 
mpnumber dp
 the first prime coefficient. $dp=d\ \textrm{mod}\ (p-1)$ More...
 
mpnumber dq
 the second prime coefficient. $dq=d\ \textrm{mod}\ (q-1)$ More...
 
mpnumber qi
 the crt coefficient. $qi=q^{-1}\ \textrm{mod}\ p$ More...
 

Detailed Description

RSA keypair.

Constructor & Destructor Documentation

◆ rsakp() [1/2]

rsakp::rsakp ( )

◆ rsakp() [2/2]

rsakp::rsakp ( const rsakp )

◆ ~rsakp()

rsakp::~rsakp ( )

Field Documentation

◆ d

rsakp::d

The private exponent.

◆ dp

rsakp::dp

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

◆ dq

rsakp::dq

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

◆ e

rsakp::e

The public exponent.

◆ n

rsakp::n

The modulus.

$n=pq$

◆ p

rsakp::p

The first prime factor of the modulus.

◆ q

rsakp::q

The second prime factor of the modulus.

◆ qi

rsakp::qi

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


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