Hacker News new | past | comments | ask | show | jobs | submit login

That's correct.

RSA (like everything else) is a deterministic encryption. That is why we must do one of the two:

1. Use a random padding 2. or always encrypt a random number.

the former is PKCS#5, the latter is what https does.




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

Search: