Complete decryption code