test: update files

This commit is contained in:
2023-11-01 11:01:04 +08:00
parent e27570e3fe
commit 81f6dae484
6 changed files with 42 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ from Crypto.Util.Padding import pad,unpad
context.log_level = 'debug'
conn = remote("localhost",10001)
# conn = remote("172.20.14.117", 15503)
def encrypt(plain_text:bytes, key:bytes)->bytes:
cipher = AES.new(key, AES.MODE_ECB)