Add decryption capabilities and a full cycle test