The decryption routine (simplified) is: