def test_decode_aes(self): hey = """ dfjn t564 sdfhp\n """ assert crypto.decrypt(key, crypto.encrypt(key, hey)) == hey assert crypto.decrypt(key, todecode) == "hey-0"
def decrypt(self, cipher_key): self.entry = pn_crypto.decrypt(cipher_key, self.entry)
def decrypter(entry): mr = pn_crypto.decrypt(cipher_key, entry) return mr