<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://sibiwiki.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Caesar-Verschl%C3%BCsselung</id>
	<title>Caesar-Verschlüsselung - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://sibiwiki.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Caesar-Verschl%C3%BCsselung"/>
	<link rel="alternate" type="text/html" href="https://sibiwiki.de/wiki/index.php?title=Caesar-Verschl%C3%BCsselung&amp;action=history"/>
	<updated>2026-11-27T02:29:03Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in sibiwiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://sibiwiki.de/wiki/index.php?title=Caesar-Verschl%C3%BCsselung&amp;diff=51&amp;oldid=prev</id>
		<title>Akaibel: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://sibiwiki.de/wiki/index.php?title=Caesar-Verschl%C3%BCsselung&amp;diff=51&amp;oldid=prev"/>
		<updated>2026-10-27T17:44:41Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 27. Oktober 2026, 17:44 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;de&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Akaibel</name></author>
	</entry>
	<entry>
		<id>https://sibiwiki.de/wiki/index.php?title=Caesar-Verschl%C3%BCsselung&amp;diff=50&amp;oldid=prev</id>
		<title>sibiwikialt&gt;Akaibel am 23. Januar 2022 um 17:54 Uhr</title>
		<link rel="alternate" type="text/html" href="https://sibiwiki.de/wiki/index.php?title=Caesar-Verschl%C3%BCsselung&amp;diff=50&amp;oldid=prev"/>
		<updated>2022-01-23T17:54:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Kategorie:Kryptographie]]&lt;br /&gt;
[[Kategorie:Informatik-Abitur]]&lt;br /&gt;
[[Kategorie:Informatik]]&lt;br /&gt;
&lt;br /&gt;
Die &amp;#039;&amp;#039;&amp;#039;Caesar-Verschlüsselung&amp;#039;&amp;#039;&amp;#039; ist ein einfaches Verschlüsselungsverfahren, das auf der Verschiebung von Buchstaben basiert.&lt;br /&gt;
&lt;br /&gt;
Bei der Verschlüsselung wird jeder Buchstabe des Klartexts auf einen Geheimtextbuchstaben abgebildet. Diese Abbildung ergibt sich, indem man die Zeichen eines geordneten Alphabets um eine bestimmte Anzahl nach rechts verschiebt. Die Anzahl der verschobenen Zeichen bildet den Schlüssel.&lt;br /&gt;
&lt;br /&gt;
Beispiel für eine Verschiebung um drei Zeichen (d.h. Schlüssel = 3):&lt;br /&gt;
 &amp;lt;code&amp;gt;&lt;br /&gt;
 klar:    a b c d e f g h i j k l m n o p q r s t u v w x y z&lt;br /&gt;
 geheim:  d e f g h i j k l m n o p q r s t u v w x y z a b c&lt;br /&gt;
 &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Aus dem Klartext &amp;lt;code&amp;gt;hallo&amp;lt;/code&amp;gt; ergibt sich so der Geheimtext &amp;lt;code&amp;gt;kdoor&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Implementierung=&lt;br /&gt;
 &amp;lt;code&amp;gt;&lt;br /&gt;
 public class Caesar {&lt;br /&gt;
 &lt;br /&gt;
    &amp;#039;&amp;#039;&amp;#039;public static String verschluesseln(String pText, int pCode){&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
        pText = pText.toLowerCase();&lt;br /&gt;
        String ergebnis = &amp;quot;&amp;quot;;&lt;br /&gt;
        for(int i=0; i&amp;lt;pText.length(); i++){&lt;br /&gt;
            char buchstabe = pText.charAt(i);&lt;br /&gt;
            buchstabe += pCode;&lt;br /&gt;
            if(buchstabe &amp;gt; &amp;#039;z&amp;#039;){&lt;br /&gt;
                buchstabe -= 26;&lt;br /&gt;
            }&lt;br /&gt;
            ergebnis += buchstabe;&lt;br /&gt;
        }&lt;br /&gt;
        return ergebnis;&lt;br /&gt;
    }&lt;br /&gt;
   &lt;br /&gt;
    &amp;#039;&amp;#039;&amp;#039;public static String entschluesseln(String pText, int pCode){&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
        // statt pCode Buchstaben nach rechts zu gehen...&lt;br /&gt;
        // ... kann man auch (26-pCode) Buchstaben nach links gehen!&lt;br /&gt;
        String ergebnis = verschluesseln(pText, 26 - pCode);&lt;br /&gt;
        return ergebnis;&lt;br /&gt;
    }&lt;br /&gt;
   &lt;br /&gt;
    public static void main(String[] args) {&lt;br /&gt;
        int schluessel = 3;&lt;br /&gt;
        String nachricht = &amp;quot;hallo&amp;quot;;&lt;br /&gt;
        System.out.println(&amp;quot;nachricht: &amp;quot;+nachricht);&lt;br /&gt;
        String verschluesselt = verschluesseln(nachricht, schluessel);&lt;br /&gt;
        System.out.println(&amp;quot;verschluesselt: &amp;quot;+verschluesselt);&lt;br /&gt;
        String entschluesselt = entschluesseln(verschluesselt, schluessel);&lt;br /&gt;
        System.out.println(&amp;quot;entschluesselt: &amp;quot;+entschluesselt);&lt;br /&gt;
    }&lt;br /&gt;
 }&lt;br /&gt;
 &amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>sibiwikialt&gt;Akaibel</name></author>
	</entry>
</feed>