src/eric7/Utilities/crypto/py3AES.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10439
21c28b0f9e41
child 10908
ef1b3cd9a6ca
--- a/src/eric7/Utilities/crypto/py3AES.py	Tue Apr 23 09:29:13 2024 +0200
+++ b/src/eric7/Utilities/crypto/py3AES.py	Tue Apr 23 11:26:04 2024 +0200
@@ -1627,7 +1627,7 @@
     # create a new iv using random data
     iv = bytearray([i for i in os.urandom(16)])
     moo = AESModeOfOperation()
-    mode, length, ciph = moo.encrypt(data, mode, key, keysize, iv)
+    _mode, _length, ciph = moo.encrypt(data, mode, key, keysize, iv)
     # With padding, the original length does not need to be known. It's a bad
     # idea to store the original message length.
     # prepend the iv.

eric ide

mercurial