<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://mediawiki.gerhardfoschum.me/index.php?action=history&amp;feed=atom&amp;title=Kryptografische_Grundlagen</id>
	<title>Kryptografische Grundlagen - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://mediawiki.gerhardfoschum.me/index.php?action=history&amp;feed=atom&amp;title=Kryptografische_Grundlagen"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.gerhardfoschum.me/index.php?title=Kryptografische_Grundlagen&amp;action=history"/>
	<updated>2026-11-16T17:52:26Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Gerhards Wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://mediawiki.gerhardfoschum.me/index.php?title=Kryptografische_Grundlagen&amp;diff=30&amp;oldid=prev</id>
		<title>Gerhard am 15. Oktober 2025 um 19:07 Uhr</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.gerhardfoschum.me/index.php?title=Kryptografische_Grundlagen&amp;diff=30&amp;oldid=prev"/>
		<updated>2025-10-15T19:07:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 15. Oktober 2025, 19:07 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l121&quot;&gt;Zeile 121:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 121:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://developer.mozilla.org/en-US/docs/Glossary/Public_key_cryptography MDN: Public Key Cryptography]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://developer.mozilla.org/en-US/docs/Glossary/Public_key_cryptography MDN: Public Key Cryptography]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.cloudflare.com/learning/ssl/what-happens-in-a-tls-handshake/ Cloudflare: TLS Handshake Explained]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.cloudflare.com/learning/ssl/what-happens-in-a-tls-handshake/ Cloudflare: TLS Handshake Explained]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:SSL/TLS]]  &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:HTTPS]]  &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:Kryptografie]]  &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:IT-Sicherheit]]  &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:Zertifikate]]  &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:Public Key Infrastructure]]  &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:Webserver]]  &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:Netzwerksicherheit]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gerhard</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.gerhardfoschum.me/index.php?title=Kryptografische_Grundlagen&amp;diff=11&amp;oldid=prev</id>
		<title>Gerhard: Die Seite wurde neu angelegt: „= Kryptografische Grundlagen =  &#039;&#039;&#039;Kryptografie&#039;&#039;&#039; ist die Wissenschaft der sicheren Kommunikation.   Sie bildet die technische Basis für &#039;&#039;&#039;SSL/TLS&#039;&#039;&#039;, digitale Signaturen und viele andere Sicherheitsmechanismen im Internet.  == Ziele der Kryptografie == Kryptografie verfolgt vier Hauptziele:  ;1. Vertraulichkeit : Schutz der Informationen vor unbefugtem Zugriff.   ;2. Integrität : Sicherstellen, dass Daten nicht unbemerkt verändert wurden.   ;3. Auth…“</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.gerhardfoschum.me/index.php?title=Kryptografische_Grundlagen&amp;diff=11&amp;oldid=prev"/>
		<updated>2025-10-15T18:06:25Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „= Kryptografische Grundlagen =  &amp;#039;&amp;#039;&amp;#039;Kryptografie&amp;#039;&amp;#039;&amp;#039; ist die Wissenschaft der sicheren Kommunikation.   Sie bildet die technische Basis für &amp;#039;&amp;#039;&amp;#039;SSL/TLS&amp;#039;&amp;#039;&amp;#039;, digitale Signaturen und viele andere Sicherheitsmechanismen im Internet.  == Ziele der Kryptografie == Kryptografie verfolgt vier Hauptziele:  ;1. Vertraulichkeit : Schutz der Informationen vor unbefugtem Zugriff.   ;2. Integrität : Sicherstellen, dass Daten nicht unbemerkt verändert wurden.   ;3. Auth…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Kryptografische Grundlagen =&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Kryptografie&amp;#039;&amp;#039;&amp;#039; ist die Wissenschaft der sicheren Kommunikation.  &lt;br /&gt;
Sie bildet die technische Basis für &amp;#039;&amp;#039;&amp;#039;SSL/TLS&amp;#039;&amp;#039;&amp;#039;, digitale Signaturen und viele andere Sicherheitsmechanismen im Internet.&lt;br /&gt;
&lt;br /&gt;
== Ziele der Kryptografie ==&lt;br /&gt;
Kryptografie verfolgt vier Hauptziele:&lt;br /&gt;
&lt;br /&gt;
;1. Vertraulichkeit&lt;br /&gt;
: Schutz der Informationen vor unbefugtem Zugriff.  &lt;br /&gt;
;2. Integrität&lt;br /&gt;
: Sicherstellen, dass Daten nicht unbemerkt verändert wurden.  &lt;br /&gt;
;3. Authentizität&lt;br /&gt;
: Nachweis der Identität eines Kommunikationspartners.  &lt;br /&gt;
;4. Nichtabstreitbarkeit&lt;br /&gt;
: Nachweis, dass eine Handlung tatsächlich von einer bestimmten Person oder Entität ausgeführt wurde.&lt;br /&gt;
&lt;br /&gt;
== Arten der Kryptografie ==&lt;br /&gt;
Es gibt zwei grundlegende Verfahren:&lt;br /&gt;
&lt;br /&gt;
=== Symmetrische Kryptografie ===&lt;br /&gt;
Bei der symmetrischen Verschlüsselung verwenden Sender und Empfänger &amp;#039;&amp;#039;&amp;#039;denselben Schlüssel&amp;#039;&amp;#039;&amp;#039;.  &lt;br /&gt;
Dieser Schlüssel muss **vorher vertraulich** ausgetauscht werden.&lt;br /&gt;
&lt;br /&gt;
;Beispiele:&lt;br /&gt;
* AES (Advanced Encryption Standard)&lt;br /&gt;
* ChaCha20&lt;br /&gt;
* DES (veraltet)&lt;br /&gt;
&lt;br /&gt;
;Vorteil:&lt;br /&gt;
: Sehr schnell und effizient.  &lt;br /&gt;
;Nachteil:&lt;br /&gt;
: Schlüsselaustausch ist problematisch – wie überträgt man ihn sicher?&lt;br /&gt;
&lt;br /&gt;
=== Asymmetrische Kryptografie ===&lt;br /&gt;
Hier gibt es ein &amp;#039;&amp;#039;&amp;#039;Schlüsselpaar&amp;#039;&amp;#039;&amp;#039;:  &lt;br /&gt;
* Einen &amp;#039;&amp;#039;&amp;#039;öffentlichen Schlüssel&amp;#039;&amp;#039;&amp;#039; (public key)  &lt;br /&gt;
* Einen &amp;#039;&amp;#039;&amp;#039;privaten Schlüssel&amp;#039;&amp;#039;&amp;#039; (private key)&lt;br /&gt;
&lt;br /&gt;
Was mit dem öffentlichen Schlüssel verschlüsselt wird, kann nur der private Schlüssel entschlüsseln – und umgekehrt.&lt;br /&gt;
&lt;br /&gt;
;Beispiele:&lt;br /&gt;
* RSA&lt;br /&gt;
* Elliptic Curve Cryptography (ECC)&lt;br /&gt;
* Diffie-Hellman (Schlüsselaustauschverfahren)&lt;br /&gt;
&lt;br /&gt;
;Vorteil:&lt;br /&gt;
: Kein sicherer Kanal für den Schlüsselaustausch nötig.  &lt;br /&gt;
;Nachteil:&lt;br /&gt;
: Langsamer als symmetrische Verfahren.&lt;br /&gt;
&lt;br /&gt;
== Kombinierte Verfahren (Hybridverschlüsselung) ==&lt;br /&gt;
In modernen Protokollen wie &amp;#039;&amp;#039;&amp;#039;TLS&amp;#039;&amp;#039;&amp;#039; werden beide Verfahren kombiniert:&lt;br /&gt;
&lt;br /&gt;
# Der Schlüsselaustausch erfolgt asymmetrisch (z. B. mit RSA oder ECDHE).&lt;br /&gt;
# Danach wird ein symmetrischer Sitzungsschlüssel verwendet (z. B. AES).&lt;br /&gt;
&lt;br /&gt;
So wird die Sicherheit der asymmetrischen Methode mit der Geschwindigkeit der symmetrischen kombiniert.&lt;br /&gt;
&lt;br /&gt;
== Digitale Signaturen ==&lt;br /&gt;
Digitale Signaturen stellen sicher, dass Daten authentisch und unverändert sind.  &lt;br /&gt;
Sie werden mit dem privaten Schlüssel erstellt und mit dem öffentlichen Schlüssel überprüft.&lt;br /&gt;
&lt;br /&gt;
;Beispiel:&lt;br /&gt;
* Der Server signiert ein Zertifikat mit seinem privaten Schlüssel.&lt;br /&gt;
* Der Client prüft die Signatur mit dem öffentlichen Schlüssel der CA.&lt;br /&gt;
&lt;br /&gt;
== Hashfunktionen ==&lt;br /&gt;
Hashfunktionen erzeugen aus beliebigen Eingabedaten einen eindeutigen Fingerabdruck (Hash).  &lt;br /&gt;
Sie sind **nicht umkehrbar** und dienen der Integritätsprüfung.&lt;br /&gt;
&lt;br /&gt;
;Beispiele:&lt;br /&gt;
* SHA-256&lt;br /&gt;
* SHA-3&lt;br /&gt;
* BLAKE2&lt;br /&gt;
&lt;br /&gt;
;Eigenschaften:&lt;br /&gt;
* Kleine Änderungen in der Eingabe erzeugen völlig andere Hashes.&lt;br /&gt;
* Gleiche Eingabe → gleicher Hashwert (Determinismus).&lt;br /&gt;
&lt;br /&gt;
== Beispiel mit OpenSSL ==&lt;br /&gt;
Erzeuge ein RSA-Schlüsselpaar und inspiziere den öffentlichen Schlüssel:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
openssl genrsa -out private.pem 2048&lt;br /&gt;
openssl rsa -in private.pem -pubout -out public.pem&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Zeige den Inhalt des öffentlichen Schlüssels:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
openssl rsa -in public.pem -pubin -text -noout&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Anwendung in TLS ==&lt;br /&gt;
Beim Aufbau einer HTTPS-Verbindung (siehe [[Einführung in SSL/TLS]]):&lt;br /&gt;
&lt;br /&gt;
# Der Server sendet seinen öffentlichen Schlüssel im Zertifikat.  &lt;br /&gt;
# Der Browser prüft die Signatur der CA.  &lt;br /&gt;
# Ein gemeinsamer symmetrischer Sitzungsschlüssel wird sicher ausgehandelt.  &lt;br /&gt;
# Alle weiteren Daten werden symmetrisch verschlüsselt übertragen.&lt;br /&gt;
&lt;br /&gt;
== Zusammenfassung ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Verfahren !! Schlüsselanzahl !! Geschwindigkeit !! Verwendung in TLS&lt;br /&gt;
|-&lt;br /&gt;
| Symmetrisch || 1 gemeinsamer Schlüssel || Sehr schnell || Datenverschlüsselung&lt;br /&gt;
|-&lt;br /&gt;
| Asymmetrisch || 2 Schlüssel (öffentlich/privat) || Langsamer || Schlüsselaustausch, Authentifizierung&lt;br /&gt;
|-&lt;br /&gt;
| Hashfunktion || Kein Schlüssel || Sehr schnell || Integritätsprüfung, Signatur&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Siehe auch ==&lt;br /&gt;
* [[Einführung in SSL/TLS]]&lt;br /&gt;
* [[Aufbau eines X.509-Zertifikats]]&lt;br /&gt;
* [[Zertifikatskette und Vertrauensmodell]]&lt;br /&gt;
&lt;br /&gt;
== Externe Quellen ==&lt;br /&gt;
* [https://de.wikipedia.org/wiki/Kryptografie Wikipedia: Kryptografie]&lt;br /&gt;
* [https://cryptobook.nakov.com/ Practical Cryptography for Developers (Ivan Nakov)]&lt;br /&gt;
* [https://developer.mozilla.org/en-US/docs/Glossary/Public_key_cryptography MDN: Public Key Cryptography]&lt;br /&gt;
* [https://www.cloudflare.com/learning/ssl/what-happens-in-a-tls-handshake/ Cloudflare: TLS Handshake Explained]&lt;/div&gt;</summary>
		<author><name>Gerhard</name></author>
	</entry>
</feed>