Skip to content

Commit 7384d1f

Browse files
committed
bug fix
the function for hashing was bugged
1 parent fa4c5af commit 7384d1f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Compile command.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
py -3.13 -m PyInstaller --console --onefile KazCrypt_v1.2.0.py
1+
py -3.13 -m PyInstaller --console --onefile KazCrypt_v1.2.1.py

KazCrypt_v1.2.0.py renamed to KazCrypt_v1.2.1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def decrypt_gcm():
187187
except Exception as e:
188188
print("Decryption error:", str(e))
189189

190-
def Hash():
190+
def perform_hash():
191191
def get_available_hashes():
192192
"""Return a sorted list of all available hash algorithms in hashlib."""
193193
return sorted(hashlib.algorithms_available)
@@ -1067,7 +1067,7 @@ def legacy_features():
10671067
ecdh_complete() # renamed from ecdh_respond() in v1.2.0
10681068
input("\nPress Enter to continue...")
10691069
elif choice == "11":
1070-
hash()
1070+
perform_hash()
10711071
input("\nPress Enter to continue...")
10721072
elif choice == "12":
10731073
match_text()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
pip install cryptography
22
pip install pycryptodome
3+
py -3.13 -m pip install quantcrypt
34
pause

0 commit comments

Comments
 (0)