Skip to content

Cryptohard

Same k, Different Day

450 points · 0 solved

Two secp256k1 signatures signed with the same nonce. Recover the private key; the flag blob decrypts under sha256(d).

r  = 101487334719360347568046775804464748913649086530188674560676869074776002622910
s1 = 14922884856738952596128596514808211598263794419266474334733405686103300019639
s2 = 36848105085051923849524018795100112481727007073009005879982347209355166549622
z1 = 59698436437424395491668840738880615217613591180438739373997701174823877177838
z2 = 56586818330069254875980648454162576325198611206151038203959459268410762704779
n  = 115792089237316195423570985008687907852837564279074904382605163141518161494337
flag_ct = 460577f8ac61a9cec595a1a8b78e0c6ccd051fe9cc4ae0fa2ab7f14554

flag_ct = flag XOR (sha256(d) repeated).

Hints0/3

Learn the technique/learn/applied-cryptography