Introduction to Cryptography with Java Applets
This book covers the mathematical basis of cryptography and cryptanalysis, like linear diophantine equations, linear congruences, and exponential congruences.
Code:
http://rapidshare.de/files/8084378/CryptographyJava.rar