RSA in 12 lines of Python
Published in
1 min readMay 20, 2019
I set myself a task to write a minimal number of lines to implement a full RSA key generation, encryption and decryption system, and I got it down to 12 lines (not including import statements). The code is [here]: