Testing 2

This commit is contained in:
2025-12-23 09:54:14 -03:00
parent af56dffae4
commit 90641f10cc

1
app.py
View File

@@ -19,6 +19,7 @@ ALG_PREFIX = {
def index():
return render_template('index.html')
# This is what generates salt
@app.route('/gensalt')
def gensalt():
length = max(MIN_SALT_LEN, min(MAX_SALT_LEN, int(request.args.get('length', MIN_SALT_LEN))))