Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Implementing RSA in Python from Scratch
(
coderoasis.com
)
28 points
by
SudoSH
6 months ago
|
hide
|
past
|
favorite
|
4 comments
tptacek
6 months ago
|
next
[–]
This is essentially a dupe:
https://news.ycombinator.com/item?id=39548300
pvg
6 months ago
|
prev
|
next
[–]
Recent big discussion of very nearly the same thing
https://news.ycombinator.com/item?id=39029279
rgovostes
6 months ago
|
prev
[–]
modpow() defined in the article is already provided by the built-in pow() which takes a modulus as its third argument.
https://docs.python.org/3/library/functions.html#pow
Retr0id
6 months ago
|
parent
[–]
Similarly, you can compute the modular multiplicative inverse by passing -1 as the second argument to pow()
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://news.ycombinator.com/item?id=39548300