Implemented decryption properly.