AES 加解密


from Crypto.Cipher import AES


"""

decryptor = AES.new(key, mode, b'0000000000000000')

plain = decryptor.decrypt(cry_pw)

print(plain)

netsh wlan show profile name=“WIFI名称” key=clear 

"""



key = "1234567800000000"

mode = AES.MODE_CBC

encryptor = AES.new(key, mode, b'0000000000000000')

text = '1234567800000000'

cry_pw = encryptor.encrypt(text)

print(cry_pw)


你可能感兴趣的:(AES 加解密)