Corrected decryption method