NO DOC.
NO DOC
#include <iostream>
#define GIVARO_LENSTRA
#include "givaro/givintrsa.h"
#include "givaro/givtimer.h"
int main(int argc, char** argv)
{
IntRSADom<>::Element m,k,u;
if (argc > 1)
m = IntRSADom<>::Element( argv[1] );
else
cin >> m;
if (argc > 2)
k = IntRSADom<>::Element( argv[2] );
else
cin >> k;
cerr <<
"n=pq: " << IR.
getn() <<
", cipher key: " << IR.
gete() <<
" ----> decipering key: ";
cout << u << endl;
cerr << tim << endl;
return 0;
}
RSA domain.
Definition givintrsa.h:36
const Element & getn() const
Accesses.
Definition givintrsa.h:86
Element & point_break(Element &u)
Breaking codes : finding u knowing only m an k ...
Definition givintrsa.inl:300
Timer.
Definition givtimer.h:129
void start()
Start timer.
Definition givtimer.C:164
void stop()
Stop timer.
Definition givtimer.C:172
void clear()
Clear timer.
Definition givtimer.C:155
Namespace in which the whole Givaro library resides.
Definition all_field.C:23