DMOJ Capture The Flag '20 C2 - Small RSA

View as PDF

Submit solution


Points: 5
Time limit: 0.5s
Memory limit: 128M

Author:
Problem type
Allowed languages
Ada, Assembly, Awk, Brain****, C, C#, C++, COBOL, CommonLisp, D, Dart, F#, Forth, Fortran, Go, Groovy, Haskell, Intercal, Java, JS, Kotlin, Lisp, Lua, Nim, ObjC, OCaml, Octave, Pascal, Perl, PHP, Pike, Prolog, Python, Racket, Ruby, Rust, Scala, Scheme, Sed, Swift, TCL, Text, Turing, VB, Zig

Please decrypt the ciphertext:

c = 10247955272908064997771727568918647737311526262165262458875076213296879253353684001266750329
e = 65537
n = 14393188157100504374851319373504728765762087532393762203410288659620743314524046223483350199

Hint: After decrypting the ciphertext, what if you converted it to a different base?

This problem is from DMOJ Capture The Flag '20. For more details, please view the contest page.


Comments

There are no comments at the moment.