Mike Chambers <mikechambers <at> gmail.com> writes: > > > Thanks for the input. I was considering doing this, but my only concern > was if the key changed for some reason, I would have to regenerate the > hashes. I might try it out though, and see how well it works. > > Of course, Im not sure why the key would get reset. >
But if it is a one-way hash the key shouldn't matter. In fact there is no concept of a key, just perhaps a salt. Normally if you wanted to find the ID for the hash you would lookup the hash in the DB and select the ID, this wouldn't put too much pressure on the DB, and as I mentioned you can index the hash column to make these lookups quicker. If you do need keys then I think I have misunderstood you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

