下载Cryptodome后仍然MoudleNotFound
from Cryptodome.Cipher import AESimport binascii
key = b'1998010100000000'
msg = b'0000000000000000'
cip = b'cb9b7b334bf54485cd28edd093fa0f1d'
aes = AES.new(key, AES.MODE_ECB)
encrypted_text = aes.encrypt(msg)
cipher = binascii.b2a_hex(encrypted_text)
if cip == cipher:
print("Passed")
else:
print("Failed")
如图所示,求助-_- 把Cryptodome 换成Crypto qiuyouzhi 发表于 2021-3-27 16:07
把Cryptodome 换成Crypto
哇竟然这么简单,感谢大佬!
页:
[1]