Re: RSA decryption exponent d (c++)



TJakobsen wrote:
hehe sorry but i dont really understand how to use this in my program
as im only a high school student (last year though). We don't have
advanced mathematics yet and we haven't really worked with any of the
mathematics related to RSA such as modulo etc.

could someone be so kind as to go through this Extended Euclidian
algorithn using the numbers i've used in my program please?
so we can calculate d.

thanks in advance.

TJakobsen

As well as Kristian's suggestion of finding the Handbook of Applied
Cryptography, you can also get "A Computational Introduction to Number
Theory and Algebra" by Shoup free on the web, which covers more of the
mathematical background though less of the cryptography. The Extended
Euclidian algorithm is in section 4.2. Wikipedia and Mathworld will no
doubt also have explanations. Google is your friend.

You could also search libraries for "The Art of Computer Programming"
by Knuth in three volumes, you want Volume Two, algorithm 4.5.2X.
Alternatively "Prime Numbers - A Computational Perspective" by Crandall
and Pomerance has the Extended Euclidian algorithm as algorithm 2.1.4.

rossum

.



Relevant Pages

  • Re: Cantors diagonal proof wrong?
    ... Yes, the problem is *language*; ... The algorithm is trivial, ... >about how some important things are formally defined in mathematics. ... >hardware, whether that's computer hardware, or neural brain hardware. ...
    (sci.math)
  • Re: Symbolic computation issues
    ... Axiom is clearly not driven by sales. ... Mathematics will continue to be a fundamental and growing science. ... associated with the algebra algorithms. ... for the mathematical algorithm developer ...
    (sci.math.symbolic)
  • =?iso-8859-1?q?Re:_What_does_G=F6dels_Incompleteness_mean_for_the_Working_Mathematician=3F?=
    ... There is no reason to believe that either is the case in Peano ... alternative interpretation of Gödelian incompleteness under Church's ... algorithm computes an arithmetical relation R, ... understanding of classical mathematics as suggested by standard ...
    (sci.math)
  • Re: Natural language programming?
    ... A doctor MUST know certain things, or he is not a doctor. ... > In the same way that playing monopoly is a form of mathematics. ... The science part should be obvious. ... but the underlying algorithm to perform a task remains the same. ...
    (comp.programming)
  • Re: syllogism
    ... particularly when you lump science theory (leading toward ... >> algorithm (not tautology, not to balance a formula but to develop a ... requires or necessitates B) is not so important for my point. ... I consider to be a part of mathematics; ...
    (sci.logic)