Gestion des dossiers sur VPS

This commit is contained in:
2025-10-26 11:28:15 +01:00
parent 9cf31189a9
commit 5f9c8c7472
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
import bcrypt
password = input("Entre le mot de passe admin à hacher : ")
hashed = bcrypt.hashpw(password.encode(), bcrypt.gensalt(rounds=12))
print("\nHash généré :")
print(hashed.decode())