[Interest] Generating unique string

Jonathan Greig redteam316 at gmail.com
Sat Feb 15 07:58:31 CET 2014


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140215/bd0e50f6/attachment.html>


More information about the Interest mailing list