On this page
article
Low Exponent DRAFT
Implementation
Parameters Required:
- e: the public exponent
- c: the ciphertext
Return: the plaintext
from sage.all import ZZ
def attack(e, c):
return int(ZZ(c).nth_root(e))