ParentFull threadmcantor·He provides links for both functions, here: http://www.johndcook.com/blog/2008/12/10/fast-exponentiation... and here: http://www.codeproject.com/KB/recipes/SimpleRNG.aspxView on HN