Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -113,6 +113,11 @@ def detect_converted_mark(userinput):
|
|
| 113 |
else:
|
| 114 |
return False
|
| 115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
|
| 117 |
|
| 118 |
|
|
|
|
| 113 |
else:
|
| 114 |
return False
|
| 115 |
|
| 116 |
+
##########################################
|
| 117 |
+
#Hashing....
|
| 118 |
+
# Funktion zum Hashen des Eingabewerts
|
| 119 |
+
def hash_input(input_string):
|
| 120 |
+
return hashlib.sha256(input_string.encode()).hexdigest()
|
| 121 |
|
| 122 |
|
| 123 |
|