#include <rsacrypt.h>
Public Types | |
| typedef Int< PRECISION > | Integer |
Public Member Functions | |
| RSACrypt () | |
| ~RSACrypt () | |
| void | Set_Public_Keys (const Integer &pub_n, const Integer &pub_e) |
| void | Set_Keys (const Integer &pub_n, const Integer &pub_e, const Integer &priv_d, const Integer &keygen_p, const Integer &keygen_q) |
| void | Get_Public_Keys (Integer &pub_n, Integer &pub_e) const |
| void | Get_Private_Key (Integer &priv_d) const |
| void | Get_Keygen_Keys (Integer &keygen_p, Integer &keygen_q) const |
| bool | Load_SSH_Keyset (FileClass *file) |
| void | Encrypt (const Integer &plaintext, Integer &cyphertext) const |
| void | Decrypt (const Integer &cyphertext, Integer &plaintext) const |
Definition at line 63 of file rsacrypt.h.
Definition at line 66 of file rsacrypt.h.
|
inline |
Definition at line 68 of file rsacrypt.h.
Definition at line 69 of file rsacrypt.h.
| void RSACrypt< PRECISION >::Decrypt | ( | const Integer & | cyphertext, |
| Integer & | plaintext ) const |
Definition at line 282 of file rsacrypt.h.
| void RSACrypt< PRECISION >::Encrypt | ( | const Integer & | plaintext, |
| Integer & | cyphertext ) const |
Definition at line 271 of file rsacrypt.h.
| void RSACrypt< PRECISION >::Get_Keygen_Keys | ( | Integer & | keygen_p, |
| Integer & | keygen_q ) const |
Definition at line 157 of file rsacrypt.h.
Definition at line 146 of file rsacrypt.h.
| void RSACrypt< PRECISION >::Get_Public_Keys | ( | Integer & | pub_n, |
| Integer & | pub_e ) const |
Definition at line 136 of file rsacrypt.h.
Definition at line 168 of file rsacrypt.h.
| void RSACrypt< PRECISION >::Set_Keys | ( | const Integer & | pub_n, |
| const Integer & | pub_e, | ||
| const Integer & | priv_d, | ||
| const Integer & | keygen_p, | ||
| const Integer & | keygen_q ) |
Definition at line 119 of file rsacrypt.h.
| void RSACrypt< PRECISION >::Set_Public_Keys | ( | const Integer & | pub_n, |
| const Integer & | pub_e ) |
Definition at line 109 of file rsacrypt.h.