BeeCrypt 4.2.1
rsakp Struct Reference

RSA keypair. More...

#include <rsakp.h>

Collaboration diagram for rsakp:

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() [1/2]

rsakp::rsakp ( )

Referenced by rsakp().

◆ rsakp() [2/2]

rsakp::rsakp ( const rsakp & )

References rsakp().

◆ ~rsakp()

rsakp::~rsakp ( )

Field Documentation

◆ d

mpnumber rsakp::d

The private exponent.

◆ dp

mpnumber rsakp::dp

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

◆ dq

mpnumber rsakp::dq

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

◆ e

mpnumber rsakp::e

The public exponent.

◆ n

mpbarrett rsakp::n

The modulus.

$n=pq$

◆ p

mpbarrett rsakp::p

The first prime factor of the modulus.

◆ q

mpbarrett rsakp::q

The second prime factor of the modulus.

◆ qi

mpnumber rsakp::qi

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


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