Skip to content

Instantly share code, notes, and snippets.

@AndyNovo AndyNovo/leakedgamal.py Secret
Created Mar 3, 2019

Embed
What would you like to do?
#So I was listening to a conversation the other day that looked like El Gamal and decuded the prime and the ciphertext:
p=178130364071581895354884419100157594069926753632785797461982040800992209816340216858946695174555334240795657622199029701979915133771596981904943847120979095885129113122656724948825163623455820763030778116754364459812519846906611695920600382991544777426202292736973689257784152628245696786753719700485116306513L
ct=90278975274266881865520789834441856143191314758106523579501681648514494231316193273403029650097364740880890228117222183627035613804138004396652033793109894677067298059453060323047735733750097782077336722784110765072854511082874743505041896067060197632880699776534796127530166741087669803851716905321832481036L
#But I also found another variable called ss. I'm not sure what to do with it but here it is:
ss=67932748076827461733237004201436399173925604996634897718293147116707513516145922211289248347991472080832045513954380611730996220107005569920954527969783893363696023826630751347476202935591892804905829677468529630737881092224491106983576364602066148348932326821306714596744172942448495075222577072622240346958L
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.