CaptainBiken 发表于 2021-3-27 15:58:50

下载Cryptodome后仍然MoudleNotFound

from Cryptodome.Cipher import AES
import 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")


如图所示,求助-_-

qiuyouzhi 发表于 2021-3-27 16:07:03

把Cryptodome 换成Crypto

CaptainBiken 发表于 2021-3-27 16:12:32

qiuyouzhi 发表于 2021-3-27 16:07
把Cryptodome 换成Crypto

哇竟然这么简单,感谢大佬!
页: [1]
查看完整版本: 下载Cryptodome后仍然MoudleNotFound