[Interest] Generating unique string

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Sat Feb 15 08:57:21 CET 2014


Have a look also to this : http://qt-project.org/doc/qt-4.8/quuid.html

Etienne


2014-02-15 7:58 GMT+01:00 Jonathan Greig <redteam316 at gmail.com>:

> Igor,
> You might want to look at QCryptographicHash and then truncate or
> concatenate to N chars. Either that or QDateTime using the epoch. Your
> solution depends on how you are defining unique. Either way should be
> fairly simple.
>
>
> On Sat, Feb 15, 2014 at 1:49 AM, <igor.mironchik at gmail.com> wrote:
>
>>   Hi.
>>
>> Does Qt have something for generating unique string of N chars?
>>
>> Or maybe does somebody know simple way to do it?
>>
>> Thanks.
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140215/065b97c9/attachment.html>


More information about the Interest mailing list