Forgot to subtract 1 from p for calculating the decyrption key in the Exponential Cipher.  Fixed.