Implement encryption key decryption and validation