MHB Cryptography: RSA Message decryption

  • Thread starter Thread starter ertagon2
  • Start date Start date
  • Tags Tags
    Cryptography
AI Thread Summary
The discussion revolves around solving an RSA decryption problem involving the message "BSSM." The user attempted to convert the message into a numerical format and applied the RSA decryption formula but struggled to derive the correct letters from the resulting number. A fellow participant clarified the decryption process, confirming that the final number, 1371, can be converted to the letters "CAT" through modulus and division operations. The key steps included converting the message to a number, applying the decryption key, and then translating the numerical result back into letters. The conversation highlights the importance of correctly following the RSA decryption steps to achieve accurate results.
ertagon2
Messages
36
Reaction score
0
I've been trying to solve this question for quite a while now. I watched a ton of videos on RSA. But whenever I try to solve it I get weird answers. Can some pls give me a hint or their method of solving it. An answer to the question also would be fine.
View attachment 7389
 

Attachments

  • maths-s2-q4.png
    maths-s2-q4.png
    7.8 KB · Views: 100
Mathematics news on Phys.org
ertagon2 said:
I've been trying to solve this question for quite a while now. I watched a ton of videos on RSA. But whenever I try to solve it I get weird answers. Can some pls give me a hint or their method of solving it. An answer to the question also would be fine.

Hi ertagon2! Welcome to MHB!

What did you try?

Logically we would need to convert BSSM to a number using the same scheme as is used for encryption.
Then decode it with the given deciphering key.
And then convert the resulting number to a string again by taking the number modulus 26, dividing it by 26, and repeating.
 
I like Serena said:
Hi ertagon2! Welcome to MHB!

What did you try?

Logically we would need to convert BSSM to a number using the same scheme as is used for encryption.
Then decode it with the given deciphering key.
And then convert the resulting number to a string again by taking the number modulus 26, dividing it by 26, and repeating.

So i did convert BSSM to a number.
B= 1 S= 18 S= 18 M= 12, temp= 1*26^3 + 18*26^2 + 18*26^1 + 12*26^0 = 30224

According to the internet the deciphering process goes like this:
temp^d mod n = message

So
30224^26767 mod 46927 = 1371

And I can't convert 1371 to letters.I tried but I didn't get a good answer.
 
The answer is CAT
 
ertagon2 said:
So i did convert BSSM to a number.
B= 1 S= 18 S= 18 M= 12, temp= 1*26^3 + 18*26^2 + 18*26^1 + 12*26^0 = 30224

According to the internet the deciphering process goes like this:
temp^d mod n = message

So
30224^26767 mod 46927 = 1371

And I can't convert 1371 to letters.I tried but I didn't get a good answer.

ertagon2 said:
The answer is CAT

Let's see...

1371 mod 26 = 19, which corresponds to T.
1371 div 26 = 52, 52 mod 26 = 0, which corresponds to A.
52 div 26 = 2, which corresponds to C.

Yep. CAT.
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top