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