To decrypt the ciphertext
How can I decrypt the ciphertext? Ask Question. Asked 5 years, 2 months ago. Active 5 years, 1 month ago. Viewed 81 times. Jaja 1 Jaja 1 1 1 1 bronze badge. Add a comment. Active Oldest Votes.
AlgorithmsX AlgorithmsX 4, 1 1 gold badge 12 12 silver badges 30 30 bronze badges. Is mine possible to solve by hand? Plus, you might get lucky and get some small numbers. You might also be able to use some Montgomery Reductions, which I completely forgot about when writing my answer. Henno Brandsma Henno Brandsma k 7 7 gold badges 85 85 silver badges bronze badges. Sign up or log in Sign up using Google. Sign up using Facebook.
Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. You are encrypting letters by converting them to a number X, adding some K to that number and taking that modulo Depending on what range of values you have for pad , the actual change to decrypt might be this:.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Best way to decrypt ciphertext? Ask Question. Asked 1 year, 3 months ago. Active 1 year, 3 months ago. Viewed times. Improve this question.
Welcome to Stackoverflow. I'm stuck as to what needs to be changed in my decrypt function. I find it unlikely that adding X to num is the inverse of adding X to num. Add a main that demonstrates the problem. What is pad? Make a minimal reproducible example. Also, once you get it working, be careful with pad. What is the length of pad? Add a comment. Active Oldest Votes. Improve this answer.
0コメント