11.07.2015 Views

Abstract Algebra Theory and Applications - Computer Science ...

Abstract Algebra Theory and Applications - Computer Science ...

Abstract Algebra Theory and Applications - Computer Science ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

EXERCISES 71Programming Exercises1. Write a computer program that will write any decimal number as the sumof distinct powers of 2. What is the largest integer that your program willh<strong>and</strong>le?2. Write a computer program to calculate a x (mod n) by the method of repeatedsquares. What are the largest values of n <strong>and</strong> x that your programwill accept?References <strong>and</strong> Suggested Readings[1] Koblitz, N. A Course in Number <strong>Theory</strong> <strong>and</strong> Cryptography. Springer-Verlag,New York, 1987.[2] Pomerance, C. “Cryptology <strong>and</strong> Computational Number <strong>Theory</strong>—An Introduction,”in Cryptology <strong>and</strong> Computational Number <strong>Theory</strong>, Pomerance, C.,ed. Proceedings of Symposia in Applied Mathematics, vol. 42, AmericanMathematical Society, Providence, RI, 1990. This book gives an excellentaccount of how the method of repeated squares is used in cryptography.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!