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

I think e needs to be coprime with phi(N) rather than N itself. This is so you can find d = e^-1 mod phi(N), which would otherwise not exist.

Of course, if e shares a factor with N, you have bigger problems.



Oh, duh. Of course. :)




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: