Cool, glad to help. Have fun!
(If you really want to get into this, I also highly recommend Ferguson and Schneier's
/Practical Cryptography/. /Applied Cryptography/ is better known, but it's all like "so in
RSA you use modular arithmetic on primes in the following way" while /Practical Cryptography/
is all like "so if for some reason you want to reinvent SSL, here are the design trade-offs
you have to decide about, and here are the subtle bugs you're going to put in that will break