Hi all, First off, not sure which forum maybe the most relevent, hopefully this one is the most suited? I do not have much of a background in maths, so bare with me. I am trying to implement a Modular exponentiation encryption method, I am using http://en.wikipedia.org/wiki/Modular_exponentiation the encryption I am happy with, but what I am stuck on is the decryption method. Can anyone point me to a good bit of text, that explains the method in simple terms. Thank you. P.S. apologies if this belongs in the comp science forums.