would there be any reason to hash a GUID?
would there be开发者_如何学C any reason to hash a GUID?
To make it fit into a 32-bit int? That's what many hash-table implementations work with.
The only possible use of it if you use those GUIDs as security tokens or something like passwords. If your DB was broken hackers will not be able to use tokens because they are hashed.
精彩评论