<?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[&#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!]]]></title><description><![CDATA[<p>gibt es irgendeine plattformunabhängige Lib diesbezüglich?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/215529/guid-oder-andere-uuid-lib-gesucht-plattformunabh</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 06:54:46 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/215529.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Jun 2008 08:44:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Thu, 12 Jun 2008 08:44:41 GMT]]></title><description><![CDATA[<p>gibt es irgendeine plattformunabhängige Lib diesbezüglich?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1527477</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1527477</guid><dc:creator><![CDATA[muffmolch]]></dc:creator><pubDate>Thu, 12 Jun 2008 08:44:41 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Thu, 12 Jun 2008 09:01:54 GMT]]></title><description><![CDATA[<p>Ja, <a href="http://pocoproject.org/" rel="nofollow">PoCo</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1527500</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1527500</guid><dc:creator><![CDATA[Airdamn]]></dc:creator><pubDate>Thu, 12 Jun 2008 09:01:54 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Thu, 12 Jun 2008 10:27:11 GMT]]></title><description><![CDATA[<p>auch ne etwas kleinere?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1527585</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1527585</guid><dc:creator><![CDATA[muffmolch]]></dc:creator><pubDate>Thu, 12 Jun 2008 10:27:11 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Thu, 12 Jun 2008 13:49:54 GMT]]></title><description><![CDATA[<p>Was soll eine &quot;GUID Lib&quot; sein? Also was soll sie können?</p>
<p>Compare: memcmp. Copy: memcpy. Generieren von passenden GUIDs: guck mal in der Boost, da müsste es einen wrapper für /dev/(u)random bzw. CryptGenRandom geben.<br />
Evtl. holst du dir da 128 Byte Zufallsdaten oder so, und rechnest nachher einfach ne MD5 (crypto++, ...) drüber -&gt; GUID.</p>
<p>Was soll sie sonst noch können? Als String Formatieren? -&gt; sprintf/stringstream/boost::format.<br />
Sonst nocht was?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1527792</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1527792</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Thu, 12 Jun 2008 13:49:54 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Thu, 12 Jun 2008 14:16:24 GMT]]></title><description><![CDATA[<p>genau, lediglich ne zufallsnummer erzeugen <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/1527807</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1527807</guid><dc:creator><![CDATA[muffmolch]]></dc:creator><pubDate>Thu, 12 Jun 2008 14:16:24 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Thu, 12 Jun 2008 14:21:56 GMT]]></title><description><![CDATA[<p>hustbaer schrieb:</p>
<blockquote>
<p>da müsste es einen wrapper für /dev/(u)random bzw. CryptGenRandom geben.</p>
</blockquote>
<p>GUIDs sind aber eben gerade *nicht* zufällig.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1527814</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1527814</guid><dc:creator><![CDATA[Konrad Rudolph]]></dc:creator><pubDate>Thu, 12 Jun 2008 14:21:56 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Thu, 12 Jun 2008 14:35:17 GMT]]></title><description><![CDATA[<p>Sollte nicht ein Hash-Wert auch funktionieren? Müsste man eben nur schauen aus was man den generiert. Ne GUID ist doch eigentlich fast ein Hash-Wert.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1527823</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1527823</guid><dc:creator><![CDATA[Jasc]]></dc:creator><pubDate>Thu, 12 Jun 2008 14:35:17 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Thu, 12 Jun 2008 14:43:03 GMT]]></title><description><![CDATA[<p>Konrad Rudolph schrieb:</p>
<blockquote>
<p>hustbaer schrieb:</p>
<blockquote>
<p>da müsste es einen wrapper für /dev/(u)random bzw. CryptGenRandom geben.</p>
</blockquote>
<p>GUIDs sind aber eben gerade *nicht* zufällig.</p>
</blockquote>
<p>Früher (UUID version 1) waren sie es nicht ganz, heute zu einem großen Teil (UUID version 4) schon, aber teilweise denkt man sich auch einen Text aus und geht mit einem SHA-1 Hashing-Algorithmus drüber (UUID version 5).</p>
<p>Siehe <a href="http://tools.ietf.org/html/rfc4122" rel="nofollow">RFC 4122</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1527829</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1527829</guid><dc:creator><![CDATA[Kreppel]]></dc:creator><pubDate>Thu, 12 Jun 2008 14:43:03 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Thu, 12 Jun 2008 14:52:10 GMT]]></title><description><![CDATA[<p>muffmolch schrieb:</p>
<blockquote>
<p>gibt es irgendeine plattformunabhängige Lib diesbezüglich?</p>
</blockquote>
<p>Unter der <a href="http://www.boost-consulting.com/vault/" rel="nofollow">Boost Vault</a> (uuid_v10.zip) habe ich entsprechendes gesehen, wobei ich nicht den aktuellen Status weiß. Der Status der Einzelbibliotheken ist mir bei Boost teilweise ein Rätsel. Aber das scheint bei nahezu allen Bibliotheken die ich aktuell suche der Fall zu sein (Wie ist z.B. der Status von SOCI?)...</p>
<p>cu André</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1527838</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1527838</guid><dc:creator><![CDATA[asc]]></dc:creator><pubDate>Thu, 12 Jun 2008 14:52:10 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Thu, 12 Jun 2008 15:17:08 GMT]]></title><description><![CDATA[<p>Konrad Rudolph schrieb:</p>
<blockquote>
<p>hustbaer schrieb:</p>
<blockquote>
<p>da müsste es einen wrapper für /dev/(u)random bzw. CryptGenRandom geben.</p>
</blockquote>
<p>GUIDs sind aber eben gerade *nicht* zufällig.</p>
</blockquote>
<p>Ups, ja. Verdammt. Was ich am dringensten bräuchte wäre eine Abbildung eines Strings auf eine eindeutige ID, die für gleiche Strings dasselbe Ergebnis liefert. Aber eben mit der niedrigst möglichen Kollsionswahrscheinlichkeit!</p>
<p>-&gt; optimal wäre demnach GUIDs für uns (UUIDs bräuchten wir auch, aber an einer anderen Stelle und nicht so dringend).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1527867</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1527867</guid><dc:creator><![CDATA[muffmolch]]></dc:creator><pubDate>Thu, 12 Jun 2008 15:17:08 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Thu, 12 Jun 2008 15:21:37 GMT]]></title><description><![CDATA[<p>muffmolch schrieb:</p>
<blockquote>
<p>Okay. Also optimal wäre demnach GUIDs für uns (UUIDs bräuchten wir auch, aber an einer anderen Stelle und nicht so dringend).</p>
</blockquote>
<p>Ist GUID nicht einfach UUID von Microsoft?</p>
<p>&lt;a href= schrieb:</p>
<blockquote>
<p><a href="http://de.wikipedia.org/wiki/Guid" rel="nofollow">http://de.wikipedia.org/wiki/Guid</a>&quot;&gt;GUID stellt eine Implementierung des Universally Unique Identifier-Standards (UUID) dar.</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1527873</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1527873</guid><dc:creator><![CDATA[Kreppel]]></dc:creator><pubDate>Thu, 12 Jun 2008 15:21:37 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Thu, 12 Jun 2008 15:23:50 GMT]]></title><description><![CDATA[<p>okay. heute ist nicht mein Tag.<br />
Daher nochmal:</p>
<p>Was ich am dringensten bräuchte wäre eine Abbildung eines Strings auf eine eindeutige ID, die für gleiche Strings dasselbe Ergebnis liefert. Aber eben mit der niedrigst möglichen Kollsionswahrscheinlichkeit...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1527875</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1527875</guid><dc:creator><![CDATA[muffmolch]]></dc:creator><pubDate>Thu, 12 Jun 2008 15:23:50 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Thu, 12 Jun 2008 15:54:58 GMT]]></title><description><![CDATA[<p>muffmolch schrieb:</p>
<blockquote>
<p>Was ich am dringensten bräuchte wäre eine Abbildung eines Strings auf eine eindeutige ID, die für gleiche Strings dasselbe Ergebnis liefert. Aber eben mit der niedrigst möglichen Kollsionswahrscheinlichkeit...</p>
</blockquote>
<p>Du suchst also einen hash?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1527913</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1527913</guid><dc:creator><![CDATA[otze]]></dc:creator><pubDate>Thu, 12 Jun 2008 15:54:58 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Thu, 12 Jun 2008 16:20:43 GMT]]></title><description><![CDATA[<p>muffmolch schrieb:</p>
<blockquote>
<p>okay. heute ist nicht mein Tag.<br />
Daher nochmal:</p>
<p>Was ich am dringensten bräuchte wäre eine Abbildung eines Strings auf eine eindeutige ID, die für gleiche Strings dasselbe Ergebnis liefert. Aber eben mit der niedrigst möglichen Kollsionswahrscheinlichkeit...</p>
</blockquote>
<p>Nimm halt einfach SHA-256. Oder SHA-512 wenn du voll-paranoid bist <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="😉"
    /> Oder RIPEMD-320 wenn du was gegen die NSA hast.</p>
<p>Vonwegen Implementierung verweise ich dich wiedermal zum Eskimo: <a href="http://www.cryptopp.com/" rel="nofollow">http://www.cryptopp.com/</a></p>
<p>Wenn du einen schnellen Hashcode suchst nimm einfach MD5, schnellste wo gibt, und was zufällige Kollisionen angeht IMO ausreichend sicher. Wenn es natürlich jmd. drauf anlegt eine Kollision zu basteln ist das mit MD5 relativ einfach möglich. Dann wirklich lieber irgendeine SHA.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1527923</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1527923</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Thu, 12 Jun 2008 16:20:43 GMT</pubDate></item><item><title><![CDATA[Reply to &#x2F;&#x2F;GUID oder andere UUID Lib gesucht [plattformunabh.!!!] on Fri, 13 Jun 2008 06:44:07 GMT]]></title><description><![CDATA[<p>danke huestbaer, werde ich machen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1528190</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1528190</guid><dc:creator><![CDATA[muffmolch]]></dc:creator><pubDate>Fri, 13 Jun 2008 06:44:07 GMT</pubDate></item></channel></rss>