1/1
Some question in RSA Core
by whentabli on Sep 30, 2010 |
whentabli
Posts: 6 Joined: Aug 26, 2010 Last seen: Jan 30, 2014 |
||
Hello,
There is some command that, i didnt understand in RSA Project, exactly in main program attached in this message.could please explain to me the signification of each command used in this programm compiled with Dev Cpp ? Please could you just help me, as im new adherent in this site, i dont have enough knowledges about these command. Many thank in advance
constant_gen.c (1 kb)
|
RE: Some question in RSA Core
by demnim on Nov 3, 2010 |
demnim
Posts: 5 Joined: Oct 27, 2009 Last seen: Apr 7, 2013 |
||
This code uses the GMP (Gnu Multi Precision) Library which operates with big integers in order to calculate the two needed constants to perform a fast modular exponentiation.
If you want to know where do this constants comes from, you can google for the CIOS Montgomery modular multiplication. But you don't need to know all this to use the core. Once you have your m value, change the .c one with yours and execute, then you obtain your constants and you use them as inputs for the core. |
1/1