autokey
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user