c# - Shortening GUIDS whil Maintaining Uniqueness -


this question has answer here:

is possible hash or digest of guid shorter in length while maintaining it's uniqueness?

no. guid needs 128 bits globally unique. bits describe time, location, , uniqueness identifier (an incrementing key used prevent same guid being generated if clock hasn't moved or has been artificially manipulated).

if have requirement short of global uniqueness, yes, can create locally unique identifiers less 128 bits. there better ways generating 128 bit guid , coming kind of awesome hashing algorithm maintains pretty uniqueness @ less 128 bits.


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -