HDK
|
#include <UT_RSA.h>
Public Member Functions | |
UT_VeryLong | decrypt (const UT_VeryLong &cipher) |
void | decrypt (unsigned char *dest, const unsigned char *src, unsigned &len) |
void | setPassword (const char *passwd) |
void | create (const char *r1, const char *r2, const char *passwd) |
void | setD (const unsigned *d, int dwords) |
void | setD (UT_VeryLong &d) |
void | printCode () |
Public Member Functions inherited from UT_RSA_Public | |
UT_VeryLong | encrypt (const UT_VeryLong &plain) |
void | encrypt (unsigned char *dest, const unsigned char *src, unsigned &len) |
void | setE (const unsigned *e, int ewords) |
void | setM (const unsigned *m, int mwords) |
void | setE (UT_VeryLong &e) |
void | setM (UT_VeryLong &m) |
Public Attributes | |
UT_VeryLong | myD |
Public Attributes inherited from UT_RSA_Public | |
UT_VeryLong | myM |
UT_VeryLong | myE |
void UT_RSA_Private::create | ( | const char * | r1, |
const char * | r2, | ||
const char * | passwd | ||
) |
UT_VeryLong UT_RSA_Private::decrypt | ( | const UT_VeryLong & | cipher | ) |
void UT_RSA_Private::decrypt | ( | unsigned char * | dest, |
const unsigned char * | src, | ||
unsigned & | len | ||
) |
void UT_RSA_Private::printCode | ( | ) |
|
inline |
void UT_RSA_Private::setPassword | ( | const char * | passwd | ) |
UT_VeryLong UT_RSA_Private::myD |