Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How would you check for duplicate entries if you use a different salt per entry?


Check every previously generated salt with the currently received email for collision.


Lets imagine that [email protected] and [email protected] have same hash, so you use different salt so that they are different. How do you know which one is which? Which salt belongs to what email?




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: