Discussion: md5 has as primary id
Afficher un message
Vieux 06/02/2008, 11h00   #1
Casper F.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut md5 has as primary id

Hello,

I have a table filled with sensitive data. I wanted to avoid the
conicidental retrieval or results through "guessing" an id. I
therefore thought of using a md5-hash as the primary id. What
implications will I have as the database fills? Will it be
significantly slower than using a simple integer id, or will there not
be that much of a difference, since it is unique and indexed?

Thanks for your reply
Casper
  Réponse avec citation
 
Page generated in 0,07572 seconds with 9 queries