Skip to content

Instantly share code, notes, and snippets.

@AndyNovo
Created November 10, 2021 22:12
Show Gist options
  • Save AndyNovo/bda0a57e57b5a567d0f60d9197c34857 to your computer and use it in GitHub Desktop.
Save AndyNovo/bda0a57e57b5a567d0f60d9197c34857 to your computer and use it in GitHub Desktop.
from Crypto.Util.number import *
n=9567648541342714273618397561214215397959
e=65537
msg=bytes_to_long("REDACTED")
ct=pow(msg,e,n)
print(n)
print(e)
print(ct)
9567648541342714273618397561214215397959
65537
4878554043432346780313694417770848700555
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment