Skip to content

Instantly share code, notes, and snippets.

@AndyNovo
Created November 10, 2021 23:06
Show Gist options
  • Save AndyNovo/6eda8eacec807d8e701b895da7c12986 to your computer and use it in GitHub Desktop.
Save AndyNovo/6eda8eacec807d8e701b895da7c12986 to your computer and use it in GitHub Desktop.
10749791855393560388172357049666149809631602804310469569251643654641204491867496539055308777504187518002494177831068633305400538638652942541665988761561941
109413993211159898791788368654629302653284873245203482390897833501963943448941426284980966846595284043681061231562304979790414221100607894856052625837181922987787629513237590102358229477548778422881352082272751401947675037731704032416838784495784346488668202962380670770958222404331390814215587128728373743293
65537
14594558755112088113439714084901758414331868147667878006929688450312129136834915471573696425271965439755896173352255420621628902650336968915285031490167621841304913114982540869771826339375414416682715478250877044366351537330073746399539447565380186067595250972244771722720474394765608888112178049407678911259
from Crypto.Util.number import *
p=getPrime(512)
q=getPrime(512)
n=p*q
e=65537
msg=69420
ct=pow(msg,e,n)
print(p)
print(n)
print(e)
print(ct)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment