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

That can reveal the secret.

If I know one value out of a known set of values then by sharing a hash anybody can hash the known values until they arrive at my hash, revealing my "secret."



One can also iterate over all primes and brute-force them to break RSA.

Yes, it works, but it doesn't because we'll all be dead when your computer has the answer.


> known set of values


This is false. When doing a hash commitment you include some randomness along with the value.


How is this verified?




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

Search: