hashing

One way cryptographic hashing of a number ensuring each result is unique

Is there a good algorithm for this? after an amount of searching around I haven't been able to find any conclusive answers. Basically in a system which collects various bits of data about its users, each user is identified by a 64 bit unique Id. this Id is used as a primary key to a data set which may include any amount of data collecte...

Password recovery with sha1 password hashing

I'd like to implement a forgot password function for my website. I hash the passwords using sha1. How would I recover this for the user? What's the best method for implementing this? ...

Which open addressing methods does not suffer if there are too many deletions and why?

I got the following from wikipedia: "The main tradeoffs between these methods are that linear probing has the best cache performance but is most sensitive to clustering, while double hashing has poor cache performance but exhibits virtually no clustering; quadratic probing falls in-between in both areas." Since linear probing has the b...