This commit is contained in:
2025-07-25 16:08:58 +02:00
parent b448e43d55
commit a8e36d0a4c
2 changed files with 20 additions and 26 deletions

View File

@@ -198,6 +198,9 @@ def auswahl_verarbeiten():
elif auswahl == "Mono.-Substitution":
st.session_state.output_text = tools.monoalphasubstitution(text, additional_parameter)
st.session_state.map_data = None
elif auswahl == "Autokey-Chiffre":
st.session_state.output_text = tools.autokey(text, additional_parameter)
st.session_state.map_data = None
elif auswahl == "REPLACE":
st.session_state.output_text = tools.REPLACE(text)
st.session_state.map_data = None
@@ -287,7 +290,7 @@ option = st.sidebar.radio("hidden_label",
"Vigenere-Chiffre",
"Wolseley-Chiffre",
"Mono.-Substitution",
"",
"Autokey-Chiffre",
"",
"",
"",
@@ -306,7 +309,7 @@ if option == "Dummy mit Karte":
"Optionaler Zusatztext für Dummy mit Karte",
placeholder="Zusätzliche Eingabe hier"
)
elif option in ["Vigenere-Chiffre", "Wolseley-Chiffre"]:
elif option in ["Vigenere-Chiffre", "Wolseley-Chiffre", "Autokey-Chiffre"]:
additional_parameter = st.text_input(
"Schlüsselwort:",
placeholder="Schlüsselwort hier eingeben"