beginning to add user session functionality
This commit is contained in:
7
generate_session_key.py
Normal file
7
generate_session_key.py
Normal 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)
|
||||
Reference in New Issue
Block a user