aboutsummaryrefslogtreecommitdiff
path: root/Info/11/NTG
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-01-06 10:49:53 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2026-01-06 10:49:53 +0100
commitda30193eed2df9c4602213968ecd0fcf4125b12b (patch)
tree7fe9b69b240138dbf9641dd31fb0bd67edde05e3 /Info/11/NTG
parent36c8f2a9fd0c52e234dee6425b57d6d91f777df2 (diff)
downloadunterricht-da30193eed2df9c4602213968ecd0fcf4125b12b.tar.gz
unterricht-da30193eed2df9c4602213968ecd0fcf4125b12b.zip
add slides for the caesar cipher implementation
Diffstat (limited to 'Info/11/NTG')
-rw-r--r--Info/11/NTG/2/Caesar-Implementierung/.gitignore2
-rw-r--r--Info/11/NTG/2/Caesar-Implementierung/Makefile5
-rw-r--r--Info/11/NTG/2/Caesar-Implementierung/img/cryptool_qrcode.pngbin0 -> 1779 bytes
-rw-r--r--Info/11/NTG/2/Caesar-Implementierung/img/panther_leicht_qrcode.pngbin0 -> 2429 bytes
l---------Info/11/NTG/2/Caesar-Implementierung/img/sym_crypt.png1
-rw-r--r--Info/11/NTG/2/Caesar-Implementierung/slides.md117
6 files changed, 124 insertions, 1 deletions
diff --git a/Info/11/NTG/2/Caesar-Implementierung/.gitignore b/Info/11/NTG/2/Caesar-Implementierung/.gitignore
index 34cd08b2..2574ba69 100644
--- a/Info/11/NTG/2/Caesar-Implementierung/.gitignore
+++ b/Info/11/NTG/2/Caesar-Implementierung/.gitignore
@@ -1,2 +1,4 @@
leicht.html
+leicht.pdf
schwer.html
+schwer.pdf
diff --git a/Info/11/NTG/2/Caesar-Implementierung/Makefile b/Info/11/NTG/2/Caesar-Implementierung/Makefile
index 41b82dc7..34b11297 100644
--- a/Info/11/NTG/2/Caesar-Implementierung/Makefile
+++ b/Info/11/NTG/2/Caesar-Implementierung/Makefile
@@ -1,8 +1,11 @@
+COMMON_MK = $(shell bash -c 'upfind() { [[ -f "$$1" ]] && printf "$$1" || ([ "$$(realpath $$(dirname "$$1"))" == "/" ] || upfind "../$$1") }; upfind common.mk')
+include $(COMMON_MK)
+
SRC := leicht.md schwer.md
HTML := $(SRC:.md=.html)
.PHONY: all
-all: $(HTML)
+all: $(HTML) slides.pdf
%.html: %.md pandoc-template.html
pandoc -s --template=pandoc-template.html $< -o $@
diff --git a/Info/11/NTG/2/Caesar-Implementierung/img/cryptool_qrcode.png b/Info/11/NTG/2/Caesar-Implementierung/img/cryptool_qrcode.png
new file mode 100644
index 00000000..9dc425e7
--- /dev/null
+++ b/Info/11/NTG/2/Caesar-Implementierung/img/cryptool_qrcode.png
Binary files differ
diff --git a/Info/11/NTG/2/Caesar-Implementierung/img/panther_leicht_qrcode.png b/Info/11/NTG/2/Caesar-Implementierung/img/panther_leicht_qrcode.png
new file mode 100644
index 00000000..cfbbb1ac
--- /dev/null
+++ b/Info/11/NTG/2/Caesar-Implementierung/img/panther_leicht_qrcode.png
Binary files differ
diff --git a/Info/11/NTG/2/Caesar-Implementierung/img/sym_crypt.png b/Info/11/NTG/2/Caesar-Implementierung/img/sym_crypt.png
new file mode 120000
index 00000000..f95a0b68
--- /dev/null
+++ b/Info/11/NTG/2/Caesar-Implementierung/img/sym_crypt.png
@@ -0,0 +1 @@
+../../../../2/SymmetrischeKryptograhpie/img/1280px-Orange_blue_symmetric_cryptography_de.svg.png \ No newline at end of file
diff --git a/Info/11/NTG/2/Caesar-Implementierung/slides.md b/Info/11/NTG/2/Caesar-Implementierung/slides.md
new file mode 100644
index 00000000..1c3cf35f
--- /dev/null
+++ b/Info/11/NTG/2/Caesar-Implementierung/slides.md
@@ -0,0 +1,117 @@
+---
+author: Florian Fischer
+theme: metropolis
+aspectratio: 169
+---
+
+## \faIcon{comments} Wiederholung: Symmetrische Kryptographie \hfill 1/3
+\large
+
+Beantworte folgende Frage: \vspace{0.5cm}
+
+> kgy ctgp fgkp ggtkgp?
+
+\begin{tikzpicture}[overlay, remember picture]
+\node[anchor=south east] at (current page.south east) {2 $\longrightarrow$};
+\end{tikzpicture}
+
+## \faIcon{comments} Wiederholung: Symmetrische Kryptographie \hfill 2/3
+\large
+
+Nimm Stellung zu folgender Aussage: \vspace{0.3cm}
+
+> Symmetrische Kryptographie, wie das Caesar-Verfahren, heißen \textcolor{red}{symmetrisch}, da zum Verschlüsseln und entschlüsseln das gleiche Verfahren benutzt wird.
+
+\pause
+
+\begin{tikzpicture}[overlay, remember picture]
+ \node[rotate=-30,scale=3] at (10, 0) {\large \boldred{Falsch}};
+\end{tikzpicture}
+
+\pause
+
+\vspace{-0.5cm}
+Es wird der \boldred{gleiche} Schlüssel verwendet.
+
+![](img/sym_crypt.png){height=4cm}
+
+## \faIcon{comments} Wiederholung: Symmetrische Kryptographie \hfill 3/3
+
+\large
+Nimm Stellung zu folgender Aussage: \vspace{0.5cm}
+
+> Beim Casear-Verfahren gibt es nur 25 Möglichkeiten der Verschlüsselung.
+> Obwohl die Anzahl der Buchstaben im Alphabet 26 ist und man nach rechts und nach links verschieben kann.
+
+\pause
+
+\begin{tikzpicture}[overlay, remember picture]
+ \node[rotate=-30,scale=3] at (11, -2) {\large \textbf{\textcolor{green!80!black}{Korrekt}}};
+\end{tikzpicture}
+
+\pause
+
+\begin{centering}
+\begin{tabular}{c c c c c c}
+a & b & c & d & e & ... \\
+\end{tabular}
+
+$25 \longleftarrow$
+
+\begin{tabular}{c c c c c c}
+z & a & b & c & d & ...\\
+\end{tabular}
+
+$1 \longrightarrow$
+
+\begin{tabular}{c c c c c c}
+z & a & b & c & d & ... \\
+\end{tabular}
+
+\end{centering}
+
+## \faIcon{comments} Wiederholung: Symmetrische Kryptographie \hfill 4/4
+
+\large
+
+Nimm Stellung zu folgender Aussage: \vspace{0.3cm}
+
+> Verschlüsselungsverfahren, bei denen Zeichen auf feste andere Zeichen zugeordnet werden, sind sicher solange die Zuordnung geheim bleibt.
+
+\pause
+
+\begin{tikzpicture}[overlay, remember picture]
+ \node[rotate=-30,scale=3] at (11, 0) {\large \boldred{Falsch}};
+\end{tikzpicture}
+
+\pause
+
+Da die Textstruktur erhalten bleibt, sind solche Verfahren mit der Häufigkeitsanalyse angreifbar.
+
+## Wir benötigen deine Hilfe! {.standout}
+
+In Frankreich wurde ein Diamant gestohlen.
+
+## \faIcon{desktop} Arbeitsauftrag: Cäsar-Verschlüsselung
+
+1. Öffne das **SymCrypt** Projekt in der Online-IDE.
+2. Starte das Programm und folge den Anweisungen.
+ **Tipp:** Vergrößere das Ausgabe-Fenster für eine korrekte Darstellung.
+
+```\begin{tcolorbox}```{=latex}
+
+::: {.columns}
+:::: {.column width=40%}
+Die Webseite [https://cryptool.org]() kann dir beim Entschlüsseln helfen.
+
+![](img/cryptool_qrcode.png){.center height=4cm}
+::::
+
+:::: {.column width=60%}
+Unter [schule.muhq.space/panther/leicht.html]() bzw. \url{.../schwer.html} findest du Hinweise zur Implementierung.
+
+![](img/panther_leicht_qrcode.png){.center height=4cm}
+::::
+:::
+
+```\end{tcolorbox}```{=latex}