Got the decryption working properly