Files Classes Functions Hierarchy
#include <rsa.h>
Public Member Functions | |
| void | operator() (string &c, string const &m) const |
| Encrypt a message string. | |
Public Attributes | |
| ZZ | n |
| Public product p*q. | |
| ZZ | e |
| Public exponent. | |
The product n is public but not its factors. Choose e to be large, do not use a small e.
This class encrypts a message string of digits to another string of digits.
Definition at line 23 of file rsa.h.
| void rsaE::operator() | ( | string & | c, | |
| string const & | m | |||
| ) | const |
| ZZ rsaE::e |
Public exponent.
Definition at line 30 of file rsa.h.
Referenced by operator()(), and rsatest::unittest02().
| ZZ rsaE::n |
Public product p*q.
Definition at line 28 of file rsa.h.
Referenced by operator()(), and rsatest::unittest02().
1.5.8