summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2025-10-12 16:41:10 +0200
committerjerome <jerome@xlinfo.fr>2025-10-12 16:41:10 +0200
commitc6aa59690c57d6d053aac0136b3343237550f468 (patch)
tree3f0585124873b923066d6143059e95969f66a06a
parent506921e8aba41dd8dbf6910958309a4da331b858 (diff)
downloadpython-c6aa59690c57d6d053aac0136b3343237550f468.tar.gz
python-c6aa59690c57d6d053aac0136b3343237550f468.zip
corrections
-rw-r--r--cesar.py4
-rw-r--r--crack_hash.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/cesar.py b/cesar.py
index 1940172..cc58d8f 100644
--- a/cesar.py
+++ b/cesar.py
@@ -30,8 +30,8 @@ while True:
msg = input("Votre message : ")
clef = int(input("Entrez votre clef (entre 1 et 25) : "))
for lettre in msg:
- msgChiffre = msgChiffre + decalage(lettre,clef)
- #msgChiffre += decalage(lettre, clef)
+ #msgChiffre = msgChiffre + decalage(lettre,clef)
+ msgChiffre += decalage(lettre, clef)
print("\nVotre message chiffré : ", msgChiffre, "\n")
print("********************")
msg = ""
diff --git a/crack_hash.py b/crack_hash.py
index b49d31d..b51cec7 100644
--- a/crack_hash.py
+++ b/crack_hash.py
@@ -27,7 +27,7 @@ if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument('hashlist', help='La liste de hash à trouver')
parser.add_argument('wordlist', help='Le dictionnaire choisi')
- parser.add_argument('hashsum', help='la somme de contrôle : md5,sha256 ou sh512')
+ parser.add_argument('hashsum', help='la somme de contrôle : md5,sha256 ou sha512')
parser.parse_args()
crack_hash(sys.argv[1], sys.argv[2], sys.argv[3])