Now, in this video, we are going to talk about this artist and this artist are going to miss a small
talk.
So that means we will use one key for encryption, another key for decryption at encryption.
The Keys, public and private and public debate is used for encryption and private companies for the
group.
So we need to allow us to generate the public and say we need to to the private and the public can be
known to anyone.
And this private key should only be known to the person who is decrypting our ciphertext.
And these algorithms and raising those are the prime numbers.
Standardly, you need to search the large numbers and we will see why you need to sell the numbers.
And if you choose the smartphone and it will be easy to brute force are cracking.
So the algorithm is here just for us.
We need to start two prime numbers and SIPI and keep and we need to find and value be in the clear.
So that is my definition of those two prime numbers.
Next, we need to find that you will push and function that is powerful.
Powerful is defined by B minus one in particular.
And so actually this function Testor, if you find the if you want to find the function of the number,
you need to select only the numbers that are not divisible by that number for a number function is defined
as what we want to find for this in the toilet function is P, Q minus one.
We have to duty and we need to assume undervalue such that DVD of this is no value and profit should
be one that wins British government should be one that means there is there must be no other number
that this isn't offer and which concludes that ENP often should be prime to each other.
So that's what it is.
Assume no such that this prime number and this parliament should be the prime to each other and the
public.
E e come on.
The speed is culpability.
If we assumed the prime number that is in cooperation with Parliament and the public e e come on.
And we need to conclude the presidency, how we get the private comments.
This expression gives us the priority.
We need to set a date such that be into modulars profit is equal to one.
So we have got already the value of it and the payoff.
Now we want the world to play one to find the multiple of such that if you divide it by often, you
should get the one.
All right, then, after getting ready, where do the priorities become when?
So we have got the public and the private, public and private is the government now what we want to
do is to find a ciphertext from the gun prints.
Well, I hope you find this plaintext party, Madison, and and we get the ciphertext that we need to
develop, which is the priority beyond our priority keeper and ciphertext party into Martin, which
gives us a pretext.
So if this seems confusing, let's see an example.
So I'm going to show you what not OK.
My handwriting will be better because I'm using.
So let's take the easy calls to fight.
And Q is equal to seven.
So these two are prime numbers.
I have taken P and you know what you want to find and value how you get and value.
You need to be in the Q five and certainly to Stuttaford.
Now, what we're going to do is we want to find a what is your consent function?
That's a pile of.
Because people are responding, because that means for 26, 24.
So I'm taking the normal lesson on lesson number because I just want to keep the calculation simple
and we have to use to the degree of come up.
Your friend is an artist and your friend should be proud to each other.
Let's say easy calls to what?
A lot of news 24.
So that's.
Equals to five equals to fight scenes in 24 hour around each other, and the greatest commander is for
these numbers will be one because there are no common orders except one.
So we have got our public debate, which is.
It is five Kamahl thirty free.
Now we need to develop and care.
We have already seen be in.
B into E, which is five.
More powerful payoff in values to default rate from default is equal to one, so after this, we get
the debate.
You can do that.
I'm going to use it online tool online.
OK.
So we need to find the inverse MODULA to get the value of the so I'm going to use this website Let's
Dinty that we want to play a serious fight, at least 24, because it's five models from before.
Let's calculate so we get right.
So if you multiply five and fight, we get twenty four.
If you do it with twenty eight, you get if you get down to this fight, if you multiply, fight and
fight, you get quantifier.
If you want to divide it with a good reminder that these models were so our divide, you use fight which
satisfies this equation perfectly because for you to fight, quantify what you're going to want.
So we have got the private key.
So it is Decameron.
So, for example, what is an.
So you can see we got the same Evalu and Disvalue, but in rare cases we get like this.
So in order to calculate the ciphertext, I imagine it's Citizen Stansel ciphertext.
So first I want to let you take a no go Compte for.
OK, let's take a small number for easy calculations that let's take seven.
Here's the plain text I want.
And so in real world, you need to send the message right.
You can encoded into the hex.
You can decode that as kitching into that hex format and then you can convert that into integer.
So we see in it.
And another example.
I like that.
So let's assume that my brain is seven.
So how to convert the prediction.
The ciphertext brain Darkspore Madison.
And seven E, which is five.
My guess and.
It is 35, so I'm going to open this calculator, so we need to find the of it.
Let's listen in to know don't you get seven square again?
If you hit enter, the previous operation will be performed here again here and you'll get 70 sound
powerful song.
Perfect.
So this is perfect.
Let's go with this and did not back.
I want to go into this.
We are going to find out what the Stuttaford so let's click on Water and hope that it gives rise to
seven.
Those I saw ciphertext is seven, we need to get the plane touched so you can send these seven value
as a ciphertext to the receiver and thus I hope to get the predictions.
I would actually ciphertext more into my Madison.
I'm sorry, I should not put that into this.
I'm sorry for this because I would expect to be Martin.
What ciphertext seven and these also White and Marda, and it is 34, so in this case, the body operations
are the same and we get the seven as the plane touched.
So this is how you make the side and the predictions are brutal.
So let's talk about the weakness of artists are so publicly coming is known to everyone.
So I am a I was told this in a notepad or some other expert.
So we have got that and we have got the.
And so how do you keep the ciphertext?
We have already and from this public debate.
Right.
Are you want to do you want to this find the disvalue.
How to find disvalue means you need to find a multiple of such that the payoff is equal to one.
So we got the end value is in the queue right then if you factor is this envelope in the two primes,
then obviously you get powerful.
Right?
So if I take the small print on Macerich, let's see the numbers.
We have taken five.
We have got the 35.
So if you factor is this a value into two primes and you can assume that those problems are used in
the encryption process, if you assume that like that, you can easily get the are the factors of the
default rate and in the fact of the default, one of these pages, five seven.
And these are pretty numbers.
So I can easily factor this value together, uh, factors like five and so and these two are pretty
numbers.
I can check the numbers and I can find this perfect illustration function because we got the P and we
have successfully factories and value and we can calculate this function by using P Es.
So within this one value we got the P Q and I'll see you later.
All you need to do is you need to cover this because we have got the probability.
Right.
So this is because we got these are these values because of this small and value to get larger and value.
It takes so much time to find the factors.
And particularly we need to find the factors of prime numbers.
And that's why it is best to choose the right numbers, because the larger numbers are to produce the
larger number.
That's why even though if occurs is the probability, of course he will.
Anyone can access this publicly and attacker can factor this value.
So in order to make him make the process start to one, you need to take the large numbers.
So the weakness facing these numbers you need to fit is the weak program.
Then your decryption process will be very easy for that way.
It's always the best practice, which is the numbers.