Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lehrkraefte:blc:informatik:glf22:caesar [2022/11/04 07:55] Ivo Blöchliger |
lehrkraefte:blc:informatik:glf22:caesar [2022/11/04 09:10] (current) Ivo Blöchliger [Entschlüsseln] |
||
---|---|---|---|
Line 201: | Line 201: | ||
bliqvkvokvfyevrsjkrveuvjzeujtynzvizxviqlviirkve | bliqvkvokvfyevrsjkrveuvjzeujtynzvizxviqlviirkve | ||
</ | </ | ||
+ | <hidden Lösung auf der Kommandozeile> | ||
+ | In diesem Beispiel ist der verschlüsselte Text in der Datei '' | ||
+ | <code bash> | ||
+ | for a in `seq 1 25`; do echo $a; python caesar3.py -k $a -i humpfdidumpf.txt; | ||
+ | </ | ||
+ | </ | ||
</ | </ | ||
Line 221: | Line 227: | ||
</ | </ | ||
+ | |||
+ | ==== Entschlüsseln ==== | ||
+ | Laden Sie beide Dateien herunter: {{lehrkraefte: | ||
+ | |||
+ | Verwenden Sie das Programm wie folgt: | ||
+ | <code bash> | ||
+ | python decryptor.py secret.txt | ||
+ | </ | ||
+ | Wobei der zu entschlüsselnde Text in der Datei '' |