<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Verschlüsselung]]></title><description><![CDATA[<p>Guten Tag</p>
<p>Ich möchte die Werte und ein Passwort, welche in einem Editfeld eingegeben werden verschlüsselt in einer MySQL Datenbank ablegen.</p>
<p>Ich habe da schon was von md5 gehört, aber das war damals bei PHP..</p>
<p>Bei googel habe ich leider nicht viel hilfreiches gefunden mit Verschlüsselungen bei Borland..</p>
<p>Könnt ihr mir einmal die verschiedenen Möglichkeiten aufzeigen und evtl die Vor- und Nachteile. Muss sicher nicht die komplizierteste sein, aber sicher sollte die schon sein..</p>
<p>Besten Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/155542/verschlüsselung</link><generator>RSS for Node</generator><lastBuildDate>Sun, 09 Aug 2026 18:46:12 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/155542.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 07 Aug 2006 11:30:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Verschlüsselung on Mon, 07 Aug 2006 11:30:40 GMT]]></title><description><![CDATA[<p>Guten Tag</p>
<p>Ich möchte die Werte und ein Passwort, welche in einem Editfeld eingegeben werden verschlüsselt in einer MySQL Datenbank ablegen.</p>
<p>Ich habe da schon was von md5 gehört, aber das war damals bei PHP..</p>
<p>Bei googel habe ich leider nicht viel hilfreiches gefunden mit Verschlüsselungen bei Borland..</p>
<p>Könnt ihr mir einmal die verschiedenen Möglichkeiten aufzeigen und evtl die Vor- und Nachteile. Muss sicher nicht die komplizierteste sein, aber sicher sollte die schon sein..</p>
<p>Besten Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1112139</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1112139</guid><dc:creator><![CDATA[simons]]></dc:creator><pubDate>Mon, 07 Aug 2006 11:30:40 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Mon, 07 Aug 2006 11:38:28 GMT]]></title><description><![CDATA[<p>md5 ist keine Verschlüsselung, sondern ein Hashverfahren</p>
<blockquote>
<p>Könnt ihr mir einmal die verschiedenen Möglichkeiten aufzeigen und evtl die Vor- und Nachteile. Muss sicher nicht die komplizierteste sein, aber sicher sollte die schon sein..</p>
</blockquote>
<p>Da könnte Wikipedia weiterhelfen und auch google nach &quot;rot13&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1112147</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1112147</guid><dc:creator><![CDATA[Christian411]]></dc:creator><pubDate>Mon, 07 Aug 2006 11:38:28 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Mon, 07 Aug 2006 11:47:59 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>in MySQL gibt es bereits eine einfache Funktion <a href="http://dev.mysql.com/doc/refman/5.1/de/encryption-functions.html" rel="nofollow">md5</a>.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1112161</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1112161</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 07 Aug 2006 11:47:59 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Mon, 07 Aug 2006 11:58:10 GMT]]></title><description><![CDATA[<p>Also für Passwörter abspeichern würde ich Hash-Werte (md5 usw.) nehmen dabei brauchst du nicht wissen wie die erzeugt werden das macht MySql für dich schau mal hier</p>
<p><a href="http://dev.mysql.com/doc/refman/5.0/en/encryption-functions.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/encryption-functions.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1112172</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1112172</guid><dc:creator><![CDATA[VergissEs]]></dc:creator><pubDate>Mon, 07 Aug 2006 11:58:10 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Mon, 07 Aug 2006 13:44:52 GMT]]></title><description><![CDATA[<p>Wenn er die Passwörter verschlüsselt abspeichern will (so die Anforderung), nützt MD5 nichts.</p>
<p>MD5 ist ein Hashverfahren. Bei diesem wird über das Passwort eine Prüfsumme erzeugt. Diese kann gespeichert werden. Gibt nun jemand ein Passwort ein, so kann dann auch wieder eine Prüfsumme errechnet werden. Stimmen die dann überein, so wird wohl das Passwort ok sein. Man kann aber nicht - und dass ist der entscheidene Unterschied - aus der Prüfsummer das Passwort ermitteln.</p>
<p>Im Gegensatz zu einer Verschlüsselung - wie auch immer - wird das Passwort verschlüsselt und gespeichert. Gibt jemand ein Passwort ein, kann man es entschlüsseln und dann vergleichen. Man kann aus dem Verschlüsseltem das Originalpasswort ermitteln</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1112271</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1112271</guid><dc:creator><![CDATA[Christian411]]></dc:creator><pubDate>Mon, 07 Aug 2006 13:44:52 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Mon, 07 Aug 2006 14:01:20 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Höchstwahrscheinlich meint simons mit Verschlüsseln genau das was Hashes bieten.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1112283</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1112283</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 07 Aug 2006 14:01:20 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Mon, 07 Aug 2006 21:24:46 GMT]]></title><description><![CDATA[<p>ich denke christian hat es so verstanden wie ich es meinte..</p>
<p>ich will einfach int werte und das pw verschlüsselt in der db ablegen und anschliessen entschlüsselt in dem programm ausgeben.</p>
<p>so wie ich das nun verstanden habe muss ich mich nach ROT13 umschauen? Hat jemand gerade eine gute Seite für Borland? Das was ich gefunden habe ist nicht wirklich für den Borland C++ Builder geeignet..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1112589</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1112589</guid><dc:creator><![CDATA[simons]]></dc:creator><pubDate>Mon, 07 Aug 2006 21:24:46 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Mon, 07 Aug 2006 21:34:37 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p><a href="http://de.wikipedia.org/wiki/Rot13" rel="nofollow">hier</a> sind zum Beispiel Prinzip und Implementationen für ROT13 zu finden.</p>
<p>Aber bedenke das ROT13 eine wirklich sehr einfacher Kodierung ist.<br />
Und ob du wirklich ein symmetrisches Verfahren willst.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1112594</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1112594</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 07 Aug 2006 21:34:37 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Tue, 08 Aug 2006 07:20:25 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Hier findet man nützliche Komponenten zur Verschlüsselung und Hashbildung<br />
<a href="http://www.cityinthesky.co.uk/cryptography.html" rel="nofollow">http://www.cityinthesky.co.uk/cryptography.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1112722</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1112722</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Tue, 08 Aug 2006 07:20:25 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Wed, 09 Aug 2006 14:52:13 GMT]]></title><description><![CDATA[<p>besten dank erstmal. habe mir das mal ein bisschen angeschaut.</p>
<p>bin nun auf folgendes resultat mit root 47 gekommen:</p>
<pre><code>for(stringstelle = 1; stringstelle &lt; enter_len; stringstelle++)
     {
     // Wenn der Ascii-Wert kleiner als 80 ist + 47 zählen
     if(text[stringstelle] &lt; 80)
       {
       // Alter String in einen neuen schreiben
       newtext[stringstelle] = text[stringstelle] + 47;
       }
     else
       {
       // Wenn der Wert nun grösser als 126 ist, eifach differenz Wert von 33 erhöhen
       newtext[stringstelle] = 33 + (-127 + text[stringstelle] + 47);
       }
     }
</code></pre>
<p>nun zu meiner frage. wie kann ich diesen teil text[stringstelle] in einen int wandeln? sprich einfach sting in ascii-dezimal..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113869</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113869</guid><dc:creator><![CDATA[simons]]></dc:creator><pubDate>Wed, 09 Aug 2006 14:52:13 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Wed, 09 Aug 2006 14:55:53 GMT]]></title><description><![CDATA[<p>Hallo</p>
<blockquote>
<p>bin nun auf folgendes resultat mit root 47 gekommen:</p>
</blockquote>
<p>Das soll wohl eher ROT 47 heißen, für Rotation.</p>
<blockquote>
<p>wie kann ich diesen teil text[stringstelle] in einen int wandeln?</p>
</blockquote>
<pre><code class="language-cpp">int ascii = text[stringstelle];
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113870</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113870</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 09 Aug 2006 14:55:53 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Wed, 09 Aug 2006 15:13:30 GMT]]></title><description><![CDATA[<p>besten dank. das funktioniert erstmal.ja wollte eigentlich rot47 schreiben..</p>
<pre><code>// Stringstellen (ASCII Dezimal) um 47 erhöhen
  for(stringstelle = 1; stringstelle &lt; enter_len; stringstelle++)
     {
     // Wenn der Ascii-Wert kleiner als 80 ist + 47 zählen
     if(text[stringstelle] &lt; 80)
       {
       // Alter String in einen neuen schreiben
       ascii = text[stringstelle];
       newtext[stringstelle] = ascii + 47;
       }
     else
       {
       // Wenn der Wert nun grösser als 126 ist, eifach differenz Wert von 33 erhöhen
       ascii = text[stringstelle];
       newtext[stringstelle] = 33 + (-127 + ascii + 47);
       }
     }
</code></pre>
<p>Wie kann ich nun den Int-Wert in einen ASCII-Wert wandeln? IntToStr()geht ja mal logischerweise nicht.. Eine Funktion um Int to ASCII zu wandeln, habe ich irgendwie auch nicht gefunden. Gibt es da eine Möglichkeit?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113879</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113879</guid><dc:creator><![CDATA[simons]]></dc:creator><pubDate>Wed, 09 Aug 2006 15:13:30 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Wed, 09 Aug 2006 15:15:17 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /><br />
Was ist für dich den ein &quot;ASCII-Wert&quot;? Doch wohl offensichtlich eine ganze Zahl. Und Zahlen werden in ints gespeichert. Also brauchst du keine Umwandlung von int nach &quot;ASCII&quot;</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113884</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113884</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 09 Aug 2006 15:15:17 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Wed, 09 Aug 2006 15:18:15 GMT]]></title><description><![CDATA[<p>naja ich will ja dann den Int-Wert in einen String wandeln. Sprich nach der ASCII-Tabelle gäbe ja dann 90 -&gt; Z</p>
<p>habe mich wohl falsch ausgedrückt.</p>
<p>sprich ascii + 47 geben einen wert zusammen. eben z.b 90 und nun muss ich irgendwie aus 90 den String Z rausbekommen.</p>
<p>newtext[stringstelle] = ascii + 47;</p>
<p>hoffe ist nun verständlich genug geschrieben.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113885</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113885</guid><dc:creator><![CDATA[simons]]></dc:creator><pubDate>Wed, 09 Aug 2006 15:18:15 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Wed, 09 Aug 2006 15:26:15 GMT]]></title><description><![CDATA[<p>Hallo</p>
<pre><code class="language-cpp">newtext[stringstelle] = ascii + 47;
</code></pre>
<p>und was hindert dich, genau das einmal auszuprobieren?</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113890</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113890</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 09 Aug 2006 15:26:15 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Wed, 09 Aug 2006 15:34:16 GMT]]></title><description><![CDATA[<p>akari schrieb:</p>
<blockquote>
<p>Hallo</p>
<pre><code class="language-cpp">newtext[stringstelle] = ascii + 47;
</code></pre>
<p>und was hindert dich, genau das einmal auszuprobieren?</p>
<p>bis bald<br />
akari</p>
</blockquote>
<p>hm, da kommt bei mir eine Fehlermeldung.. Exception in der Klasse ERangeError.. Meldung: &quot;. Prozess wurde angehalten....</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113897</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113897</guid><dc:creator><![CDATA[simons]]></dc:creator><pubDate>Wed, 09 Aug 2006 15:34:16 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Wed, 09 Aug 2006 15:37:35 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>das ist also ein Laufzeit-Fehler.<br />
Und die besagt das dein <em>stringstelle</em> außerhalb des gültigen Bereichs ist, der von 1 bis <em>newtext.Length()</em> geht. Also setzte deinen Debugger ein und finde den Grund dafür.<br />
Mit der Umwandlung an sich hat das nichts zu tun.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113900</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113900</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 09 Aug 2006 15:37:35 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Wed, 09 Aug 2006 15:50:40 GMT]]></title><description><![CDATA[<pre><code>String Tfrmmain::func_readstring(String text, int rotart)
{
unsigned int stringstelle;
unsigned int string_len;
unsigned int ascii;
String newtext;

string_len = text.Length();

if(rotart == 47)
  {
  // Stringstellen (ASCII Dezimal) um 47 erhöhen
  for(stringstelle = 1; stringstelle &lt; string_len; stringstelle++)
     {
     // Wenn der Ascii-Wert kleiner als 80 ist + 47 zählen
     if(text[stringstelle] &lt; 80)
       {
       // Alter String in einen neuen schreiben
       ascii = text[stringstelle];
       newtext[stringstelle] = ascii + 47;
       }
     else
       {
       // Wenn der Wert nun grösser als 126 ist, eifach differenz Wert von 33 erhöhen
       ascii = text[stringstelle];
       newtext[stringstelle] = 33 + (-127 + ascii + 47);
       }
     }
  }
else if(rotart == 5)
  {
  //
  }
}
</code></pre>
<p>das ist mal mein Code. Also sobald ich das:<br />
newtext[stringstelle] = ascii + 47;<br />
durch dieses hier<br />
text[stringstelle] = ascii + 47;<br />
ersetze dann funktionier das ganze..</p>
<p>Wie kann den das sein? newtext ist ein String und text ist auch ein String.. Sehe den Fehler oder das Problem überhaupt nicht..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113907</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113907</guid><dc:creator><![CDATA[simons]]></dc:creator><pubDate>Wed, 09 Aug 2006 15:50:40 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Wed, 09 Aug 2006 15:53:35 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>ja beide sind vom Typ String. Aber im Gegensatz zu text ist newtext <strong>leer</strong>. Das heißt die Länge von newtext ist 0.<br />
Am einfachsten ist es wenn du am Anfang einfach den Inhalt und damit auch die Länge kopierst.</p>
<pre><code class="language-cpp">String newtext = text;
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113909</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113909</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 09 Aug 2006 15:53:35 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Wed, 09 Aug 2006 16:48:36 GMT]]></title><description><![CDATA[<p>ok besten dank. funktioniert nun bestens so.</p>
<p>für andere: hatte noch ein fehler in der for-Anweisung</p>
<pre><code>for(stringstelle = 1; stringstelle &lt; string_len + 1; stringstelle++)
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1113952</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113952</guid><dc:creator><![CDATA[simons]]></dc:creator><pubDate>Wed, 09 Aug 2006 16:48:36 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Wed, 09 Aug 2006 17:18:44 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>ja stimmt. Ich würde es aber lieber so schreiben</p>
<pre><code class="language-cpp">for(stringstelle = 1; stringstelle &lt;= string_len; stringstelle++)
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113981</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113981</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 09 Aug 2006 17:18:44 GMT</pubDate></item><item><title><![CDATA[Reply to Verschlüsselung on Wed, 09 Aug 2006 17:21:57 GMT]]></title><description><![CDATA[<p>Stringfunktionen sind für Verschlüsselungsalgorithmen völlig ungeeignet, da alle bei einem Zeichen mit dem Inhalt 0x00 den Dienst beenden....</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113985</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113985</guid><dc:creator><![CDATA[junix]]></dc:creator><pubDate>Wed, 09 Aug 2006 17:21:57 GMT</pubDate></item></channel></rss>