Now, in this, we will be solving a city of challenge.
It was given in the mobility of of course, these are sensitive if you participate in the 28 year minimum
security of your basic safety of are some modifications of city of.
So here we got the silver value and added value and that value and they are so good p value.
So luckily for us, they have given the P value.
So if they did not give people what you had to release, you need to factor this large number.
So because it is close to being right.
So let me copy this.
And there is a circle factory and here we can trace the number given.
So if we can get the two numbers and this number is multiple, this is going to multiply these two numbers
so you can see this first number is they have given already P-value one five three one four three zero.
And this one is equal to this one.
So let us solve this using Python.
So did not tell you what we call basics in the Python section, but this is going to be simple mathematical
calculations already.
So let us copy everything.
And copying everything into a variable so that I can operate.
And he was caught by the interpreter.
So I wrote it all the values into my Python interpreter.
Now I can start my calculations.
So any sequels to be in Tokyo, we have already got B and we need 20 and we can get by NYP right now.
If I checked, you value your get the key value.
So we have got PKU and what we have to find is we need to find PI often by profit is equal to P minus
one.
Little curious one, if you remember from the previous video.
So if I take my offer now I got this pi often you know how to decrypt this ciphertext means we need
to find the right cipher print X is equal to the ciphertext or our models and right.
So to find out the what we are going to do is we need to find the inverse of this.
Uh.
Yeah.
OK.
Let me recall this.
Devalue the Dean B Martin is equal to one right now.
You can find B using the inverse function inverse of ECOMIL payoff.
So this is the inverse model function of these two where you will get this T value.
There is no inverse function.
OK, I need to import some model called crypto to get you to look.
So the character you.
OK.
So we have successfully imported inverse function from this model.
Now, what I can say is the inverse of equal pay offer.
Now we have got the disvalue.
So it's easy because we are right using the small print numbers and the weak prime numbers have got
to devalue or to underoos.
We want to save frags equals to we need to find that print ciphertext that is ciphertext.
We can use the power function for ciphertext because the power of E and you can also give another argument
to find the models at the same time.
So we have got the let's take this from.
So let me get this in to format and then we need to convert into ASCII format.
So this is the hex format and.
So we need to decode this into the normal ASCII characters, so the graphics.
Good thing we ciphertext whole power, sorry, holper, be worried.
I'm so sorry.
So we have got the string and we can.
OK, this ciphertext be Martin, we got the example from.
So for fragged.
So.
So we need to do more this Dirac's for that, we have to say to you to from the spring onwards.
And what I need to incorporate because I just forgot this one.
Sonatine got its own.
So it is our ardently.
OK, first, let me try to decode this hooks into ASCII.
So I'm using this website and convert.
They want this so they regress, so I don't know why I'm getting this other Trajan's.
Who used to under the core of.
Takes some getting some water, OK?
I have a copy, this is forwarded to this website.
So now you got this city of the you know, the way I see you, so I don't know what this error once
you train your python compiler or interpreter, and then you see if it did not work out this hexadecimal
value into this website, extra ASCII converter online, and then you can just convert that into the
print text.
So this is our friend.