Here's a nice website: http://www.muppetlabs.com/~breadbox/txt/rsa.htm