Beispiel #1
0
    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"
Beispiel #2
0
 def decrypt(self, cipher_key):
     self.entry = pn_crypto.decrypt(cipher_key, self.entry)
Beispiel #3
0
 def decrypt(self, cipher_key):
     self.entry = pn_crypto.decrypt(cipher_key, self.entry)
Beispiel #4
0
 def decrypter(entry):
     mr = pn_crypto.decrypt(cipher_key, entry)
     return mr
Beispiel #5
0
 def decrypter(entry):
     mr = pn_crypto.decrypt(cipher_key, entry)
     return mr