beginning to add user session functionality

This commit is contained in:
Lucas Mathews
2024-05-21 00:05:43 +02:00
parent 544b9e1c2f
commit 139bda89a3
9 changed files with 83 additions and 42 deletions

7
generate_session_key.py Normal file
View File

@@ -0,0 +1,7 @@
# Lucas Mathews - Fontys Student ID: 5023572
# Banking System Secret Key Generator
# Generates a secret key for the banking system API to manage user sessions
import secrets
secret_key = secrets.token_hex(16) # Generates a 32-character hex string
print(secret_key)