Anonymous user
RSA code: Difference between revisions
m
→{{header|Python}}
Line 1,071:
if plain_text > n:
raise Exception('plain text too large for key')
encrypted_text = pow(plain_text, e, n)
|