<?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[SHA (1&#x2F;2&#x2F;3) Implementierung?]]></title><description><![CDATA[<p>Das einzige was ich finde ist <strong>so eine eklige</strong> Scheisse - das kann man in Worten nicht ausdrücken... überall C - kein C++-Filestreams, STL-Container, überhaupt Standardbibliothek - schnix! Alles C, nur in eine Klasse gepackt! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f621.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--pouting_face"
      title=":rage:"
      alt="😡"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/307141/sha-1-2-3-implementierung</link><generator>RSS for Node</generator><lastBuildDate>Fri, 07 Aug 2026 18:05:20 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/307141.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Aug 2012 22:22:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Fri, 17 Aug 2012 22:22:51 GMT]]></title><description><![CDATA[<p>Das einzige was ich finde ist <strong>so eine eklige</strong> Scheisse - das kann man in Worten nicht ausdrücken... überall C - kein C++-Filestreams, STL-Container, überhaupt Standardbibliothek - schnix! Alles C, nur in eine Klasse gepackt! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f621.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--pouting_face"
      title=":rage:"
      alt="😡"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2242997</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2242997</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Fri, 17 Aug 2012 22:22:51 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Fri, 17 Aug 2012 22:42:09 GMT]]></title><description><![CDATA[<p>Sone schrieb:</p>
<blockquote>
<p>Das einzige was ich finde ist <strong>so eine eklige</strong> Scheisse - das kann man in Worten nicht ausdrücken... überall C - kein C++-Filestreams, STL-Container, überhaupt Standardbibliothek - schnix! Alles C, nur in eine Klasse gepackt! <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f621.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--pouting_face"
      title=":rage:"
      alt="😡"
    /> <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
</blockquote>
<p>Also was ich suche ist eine saubere, schöne Implementierung. Irgendein Link. Bitte.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243002</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243002</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Fri, 17 Aug 2012 22:42:09 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Fri, 17 Aug 2012 23:17:48 GMT]]></title><description><![CDATA[<p><a href="http://www.tty1.net/smart-questions_de.html" rel="nofollow">Wie man Fragen richtig stellt</a>, hatte heute morgen noch wer gepostet, ich denke, ich kann für alle hier sprechen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243003</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243003</guid><dc:creator><![CDATA[Cyres]]></dc:creator><pubDate>Fri, 17 Aug 2012 23:17:48 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Sat, 18 Aug 2012 00:35:52 GMT]]></title><description><![CDATA[<p>SHA-3 gibt's noch nicht.</p>
<p>Und iostreams haben da meiner Meinung nach auch nichts zu suchen. Wozu brauchst du da C++ Features? Ein struct mit dem &quot;Zustand&quot; und ein paar Funktionen, die den Zustand anhand von Datenbytes ändern. Fertig. Da muss man jetzt keine Klasse für bauen, irgendwo was ableiten oder Templates einsetzen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243008</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243008</guid><dc:creator><![CDATA[krümelkacker]]></dc:creator><pubDate>Sat, 18 Aug 2012 00:35:52 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Sat, 18 Aug 2012 01:02:15 GMT]]></title><description><![CDATA[<p><a href="http://www.boost.org/doc/libs/1_46_0/boost/uuid/sha1.hpp" rel="nofollow">Boost hat SHA-1.</a></p>
<pre><code class="language-cpp">// Note: this implementation does not handle message longer than
//       2^32 bytes.
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2243012</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243012</guid><dc:creator><![CDATA[TyRoXx]]></dc:creator><pubDate>Sat, 18 Aug 2012 01:02:15 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Sat, 18 Aug 2012 03:43:34 GMT]]></title><description><![CDATA[<p>Ich werde in den nächsten Wochen (Monaten?) wohl Implementierungen der SHA-2 Familie, AES, RSA, bcrypt, scrypt und was sich halt noch so findet veröffentlichen. Eigentlich wollte ich warten bis ich ein ordentliches Grüppchen zusammen habe, aber wenn da wirklich jemand drauf wartet, kann ich den SHA-2 Kram vielleicht innerhalb von 1-2 Wochen aufräumen. Vielleicht genügt das ja deinen Ansprüchen. (Ist natürlich alles ohne Garantie und nicht 100,000,000 mal getestet. Aber dir scheint es ja mehr um die Implementierung zu gehen.)</p>
<p>krümelkacker schrieb:</p>
<blockquote>
<p>Da muss man jetzt keine Klasse für bauen, irgendwo was ableiten oder Templates einsetzen.</p>
</blockquote>
<p>Bei iostreams stimme ich dir zu, hat da nichts verloren. Wäre auch Quatsch. Aber Templates und Klassen kann man durchaus sinnvoll verwenden. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243015</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243015</guid><dc:creator><![CDATA[cooky451]]></dc:creator><pubDate>Sat, 18 Aug 2012 03:43:34 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Sat, 18 Aug 2012 05:51:09 GMT]]></title><description><![CDATA[<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /> ja sicher, und für eine Zufällige Zahl benutzt Du rand() oder was?!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243016</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243016</guid><dc:creator><![CDATA[sha1+1#3]]></dc:creator><pubDate>Sat, 18 Aug 2012 05:51:09 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Sat, 18 Aug 2012 06:50:29 GMT]]></title><description><![CDATA[<p>sha1+1#3 schrieb:</p>
<blockquote>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /> ja sicher, und für eine Zufällige Zahl benutzt Du rand() oder was?!</p>
</blockquote>
<p>Ney. Für Zufallszahlen benutzt man in C++11 <code>random_device</code> , oder eine Distribution + eine Engine (meistens <code>mt19937</code> ), ...</p>
<p>Da mich kk jetzt missverstanden hat (so meinte ich das nicht!!): Die Implementierung nutzte durchgehend C-Arrays, <code>FILE</code> -Pointer, usw. Einfach zum kotzen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243018</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243018</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Sat, 18 Aug 2012 06:50:29 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Sat, 18 Aug 2012 06:55:07 GMT]]></title><description><![CDATA[<p>Cyres schrieb:</p>
<blockquote>
<p><a href="http://www.tty1.net/smart-questions_de.html" rel="nofollow">Wie man Fragen richtig stellt</a>, hatte heute morgen noch wer gepostet, ich denke, ich kann für alle hier sprechen...</p>
</blockquote>
<p>Nope.<br />
Meine Frage war klar und einleuchtend. Ich möchte eine SHA Implementierung, für 1 oder 2. Wo ist noch das Problem?</p>
<p>Sonst: Danke ! schon mal. Ich wollte eigentlich ein wenig &quot;rumspielen&quot;, allerdings vielleicht auch mal was für Projekte verschlüsseln. Also, einfach um es erstmal zu <em>haben</em>.</p>
<p>Ach, und danke an Tyrroxx. Das es Boost.UUID gibt, wusste ich nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243019</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243019</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Sat, 18 Aug 2012 06:55:07 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Sat, 18 Aug 2012 07:28:21 GMT]]></title><description><![CDATA[<p>Sone schrieb:</p>
<blockquote>
<p>Cyres schrieb:</p>
<blockquote>
<p><a href="http://www.tty1.net/smart-questions_de.html" rel="nofollow">Wie man Fragen richtig stellt</a>, hatte heute morgen noch wer gepostet, ich denke, ich kann für alle hier sprechen...</p>
</blockquote>
<p>Nope.<br />
Meine Frage war klar und einleuchtend. Ich möchte eine SHA Implementierung, für 1 oder 2. Wo ist noch das Problem?</p>
<p>Sonst: Danke ! schon mal. Ich wollte eigentlich ein wenig &quot;rumspielen&quot;, allerdings vielleicht auch mal was für Projekte verschlüsseln. Also, einfach um es erstmal zu <em>haben</em>.</p>
<p>Ach, und danke an Tyrroxx. Das es Boost.UUID gibt, wusste ich nicht.</p>
</blockquote>
<p>Mit SHA kann man nichts verschlüsseln... irgendwie solltest Du dass mit der implementierung noch lassen, und noch ein bisschen basics lernen... nichts für ungut.. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243021</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243021</guid><dc:creator><![CDATA[-lowbyte- 0]]></dc:creator><pubDate>Sat, 18 Aug 2012 07:28:21 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Sat, 18 Aug 2012 07:31:20 GMT]]></title><description><![CDATA[<p>-lowbyte- schrieb:</p>
<blockquote>
<p>Sone schrieb:</p>
<blockquote>
<p>Cyres schrieb:</p>
<blockquote>
<p><a href="http://www.tty1.net/smart-questions_de.html" rel="nofollow">Wie man Fragen richtig stellt</a>, hatte heute morgen noch wer gepostet, ich denke, ich kann für alle hier sprechen...</p>
</blockquote>
<p>Nope.<br />
Meine Frage war klar und einleuchtend. Ich möchte eine SHA Implementierung, für 1 oder 2. Wo ist noch das Problem?</p>
<p>Sonst: Danke ! schon mal. Ich wollte eigentlich ein wenig &quot;rumspielen&quot;, allerdings vielleicht auch mal was für Projekte verschlüsseln. Also, einfach um es erstmal zu <em>haben</em>.</p>
<p>Ach, und danke an Tyrroxx. Das es Boost.UUID gibt, wusste ich nicht.</p>
</blockquote>
<p>Mit SHA kann man nichts verschlüsseln...</p>
</blockquote>
<p>Hashes und Verschlüsselung sehe ich nah beieinander. Wenn ich bspw. einen IP-Hash brauche, dann brauche ich gleichzeitig auch eine Verschlüsselung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243023</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243023</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Sat, 18 Aug 2012 07:31:20 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Sat, 18 Aug 2012 07:34:22 GMT]]></title><description><![CDATA[<p>Sone schrieb:</p>
<blockquote>
<p>Hashes und Verschlüsselung sehe ich nah beieinander. Wenn ich bspw. einen IP-Hash brauche, dann brauche ich gleichzeitig auch eine Verschlüsselung.</p>
</blockquote>
<p>Nein, nein. Siehe zum Beispiel dieses Forum für ein Gegenbeispiel.</p>
<p><a href="http://www.c-plusplus.net/forum/215674-full" rel="nofollow">http://www.c-plusplus.net/forum/215674-full</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243024</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243024</guid><dc:creator><![CDATA[otze]]></dc:creator><pubDate>Sat, 18 Aug 2012 07:34:22 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Sat, 18 Aug 2012 07:43:22 GMT]]></title><description><![CDATA[<p>Aber hatten wir doch letztens. Crypto++ ist vielfach erprobt, general public (außer irgendein Algo hat ein Patent, das gilt dann aber bei jeder Bib und auch Eigenimplementierung) und imo auch vernünftig aufgebaut. Das kann Dir auch Verschlüsselungsverfahren liefern. Nimm doch das!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243026</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243026</guid><dc:creator><![CDATA[Eisflamme]]></dc:creator><pubDate>Sat, 18 Aug 2012 07:43:22 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Sat, 18 Aug 2012 07:47:40 GMT]]></title><description><![CDATA[<p>Eisflamme schrieb:</p>
<blockquote>
<p>Crypto++ ist vielfach erprobt, general public (außer irgendein Algo hat ein Patent, das gilt dann aber bei jeder Bib und auch Eigenimplementierung) und imo auch vernünftig aufgebaut. Das kann Dir auch Verschlüsselungsverfahren liefern. Nimm doch das!</p>
</blockquote>
<p>Jo, sieht noch besser aus als Boost.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243028</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243028</guid><dc:creator><![CDATA[Sone]]></dc:creator><pubDate>Sat, 18 Aug 2012 07:47:40 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Sat, 18 Aug 2012 07:51:44 GMT]]></title><description><![CDATA[<p>Boost kann halt nicht verschlüsseln, ich hatte auch erst geschaut, was das kann. Und ein Hash alleine ist ja langweilig.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243030</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243030</guid><dc:creator><![CDATA[Eisflamme]]></dc:creator><pubDate>Sat, 18 Aug 2012 07:51:44 GMT</pubDate></item><item><title><![CDATA[Reply to SHA (1&#x2F;2&#x2F;3) Implementierung? on Sat, 18 Aug 2012 08:03:28 GMT]]></title><description><![CDATA[<p>Sone schrieb:</p>
<blockquote>
<p>-lowbyte- schrieb:</p>
<blockquote>
<p>Sone schrieb:</p>
<blockquote>
<p>Cyres schrieb:</p>
<blockquote>
<p><a href="http://www.tty1.net/smart-questions_de.html" rel="nofollow">Wie man Fragen richtig stellt</a>, hatte heute morgen noch wer gepostet, ich denke, ich kann für alle hier sprechen...</p>
</blockquote>
<p>Nope.<br />
Meine Frage war klar und einleuchtend. Ich möchte eine SHA Implementierung, für 1 oder 2. Wo ist noch das Problem?</p>
<p>Sonst: Danke ! schon mal. Ich wollte eigentlich ein wenig &quot;rumspielen&quot;, allerdings vielleicht auch mal was für Projekte verschlüsseln. Also, einfach um es erstmal zu <em>haben</em>.</p>
<p>Ach, und danke an Tyrroxx. Das es Boost.UUID gibt, wusste ich nicht.</p>
</blockquote>
<p>Mit SHA kann man nichts verschlüsseln...</p>
</blockquote>
<p>Hashes und Verschlüsselung sehe ich nah beieinander. Wenn ich bspw. einen IP-Hash brauche, dann brauche ich gleichzeitig auch eine Verschlüsselung.</p>
</blockquote>
<p>Was zum Henker hat ein Hash-Algo mit einem symmetrischen oder asymmetrischen Verschlüsselungs Algorithmus zu tun? Nichts! Ein Hash Algo ist eine Mathematische Einwegfunktion, also nicht umkehrbar.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2243033</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2243033</guid><dc:creator><![CDATA[-lowbyte- 0]]></dc:creator><pubDate>Sat, 18 Aug 2012 08:03:28 GMT</pubDate></item></channel></rss>