Guids, Unique Id's and Hashes
I have used Guid's as a unique identifier in data applications. But in
a recent project, the length of the Guid's string is proving to be too
long. Is there a method for generating a unique string that is less
than the length of a Guid?
If I were to take the hash of a Guid string, what is the likelyhood
that two different Guids would have the same hash?
Can anyone offer any other suggestions?
Thanks
.
Relevant Pages
- Re: One-way hashing of UUID
... number, and the UUID is effectively a one-way hash itself, if I remember ... A GUID is calculated based on your network card MAC ... only have a Dial-up Adapter, or no network cards, then the GUID is less ... string as encryption sometimes leads to characters with ASCII zero. ... (microsoft.public.vb.general.discussion) - Re: Guid question
... They work great but they are very large in string form (38 ... Would it be a crazy idea to use the CRC of a guid string ... I agree with those who say just use the full 16-byte binary Guid. ... decent hash. ... (borland.public.delphi.non-technical) - Re: Guid question
... thx jon. ... They work great but they are very large in string form (38 ... > I agree with those who say just use the full 16-byte binary Guid. ... > decent hash. ... (borland.public.delphi.non-technical) - Re: Guids, Unique Ids and Hashes
... >I have used Guid's as a unique identifier in data applications. ... Is there a method for generating a unique string that is less ... > If I were to take the hash of a Guid string, ... (microsoft.public.dotnet.languages.vb) - Re: How to write a diff in VB6 for comparing two xml files?
... No, the best you could do is to read both into string and use StrCompbut it's inefficient and, but using the hash ... Private Declare Function CryptAcquireContext Lib "AdvAPI32.dll" Alias _ ... Dim HashAAs Byte, HashLenA As Long ... (microsoft.public.vb.general.discussion) |
|