Created
August 25, 2019 20:02
-
-
Save grocid/b69e0cc237b0cf31d11b79619eb132ee to your computer and use it in GitHub Desktop.
CCCamp - Power
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
r = 16035153910445851154551409699248142732171827487155768001164757834222791792527289568231053747347938519802393160368946242599712239845011658706603130755769805572314173836986583742199803990683500283347128562664391646499596358912222668178295076530403243590614254320616617018116709707732304040376678570374241193047 | |
payload = r + (p-r) * p | |
assert(pow(payload, payload, p) == r) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment