Skip to content

Commit

Permalink
🗓 Sep 13, 2023 8:07:48 PM
Browse files Browse the repository at this point in the history
🧪 tests added/updated
  • Loading branch information
securisec committed Sep 14, 2023
1 parent 291f773 commit be37613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_encryptionencoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -834,5 +834,5 @@ def test_fernet():
flag = "ucf{urum_noql}"
key = "\x41" * 32
c = Chepy(flag).fernet_encrypt(key, True)
assert c.o.startswith(b"gAAAAABk")
assert c.o.startswith(b"gAAA")
assert c.fernet_decrypt(key, True).o == flag.encode()

0 comments on commit be37613

Please sign in to comment.