-
-
Save AndyNovo/bda0a57e57b5a567d0f60d9197c34857 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9567648541342714273618397561214215397959 | |
65537 | |
4878554043432346780313694417770848700555 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment