A computational introduction to number theory and algebra - Shoup, Victor (Cambridge : Cambridge University Press, 2005)