Heres a good link, havent read it all yet but the first couple of chapters seem promising, http://www.und.nodak.edu/org/crypto/crypto/lanaki.crypt.class/lessons/