Then the next brigade commander has again a new line safe from print here, the value of using the old
format, the value of before SDR.
Similarly, print space, say to
Folan again, print your revenue line dot format the text of after up, let us save it as demo five
dot devi.
OK, and now if we try to run this module.
Sorry, we have started with the ended with a double cold, so we have to also started with the double
quotes, let us see it and go back to run run, module it, ask for enter your text.
Say this is another
example from Cecil Saiful.
How many places you want to shift?
Say we give five some mistake here.
This is we have used after a ah I think here it is Esteva.
Let us see it.
Run it again.
This is another example on SESAR Saiful see five places.
So now here you see force.
We have the lower one then we have the upper one percent and then we have the numbers.
OK and here when we are seeing from eight ok now by default we are seeing shifted to five.
So when we say five we are shifting this a b c d e f.
So five that is F will be starting from here rest.
Everything will be the same.
So over here when you see if we have given an example of A capital B now what is replacing capital B,
that is why.
So Y comes here.
What is replacing small H, that is your aim now just to make it more meaningful, what will have to
do is we are supposed to say give it like this, save it and now let us run it.
S..
Let's take a small one.
It has shifted to many spaces.
Fine, let's see by giving two more speeches, five, one more five and run it five kilometers.
So now see, it is capital E..
What is replacing capital E. It is G that is coming here.
If we say X, what is replacing a small X?
It is.
See, that's coming.
The next character.
What is replacing A that is F so F is coming here.
What is replacing M that is are you can see here and replace are similarly B replaces you then your
L is replaced by you and your E is replaced by G.
OK now similarly now this is not that it has to be in the same order since we have given how many characters
we want to shift.
Five, that is how it is shifting the five characters and then it has been replaced.
For example, we go back here and we again run this now, this time we give the value us again.
Same.
Example, but now we see shifted seven, so when we say seven, the first six it but it is A, B, C,
D, E, F, G, these all all shifted and it starts from H.
So now you can see the earlier one, the encoding rate and the current encoding will be different.
So every time you replace it, if you don't print this, you're not understanding how basically it is
replacing a particular character with some different character by shifting some certain level of numbers
or characters in the next string.
Right.
So in this way, every time you try to use this site, for example, it would give you some different
output because a number of places to shift may only.
If that is the same, then you're able to understand with the help of this, not since we have printed
it, but if we have not printed it, it is difficult for us to understand how basically it is executing
in the background.
So even though one example at the fourth example we have done for I 4.5 also execute in a similar manner,
OK, this year thing by some certain characters and then it is executing the given particular code.
So now let us see another example.
Let us close on this.
And again, we will create from the shell on you five and here we will create variable messages still
red.
We are giving the value over here, says Bitin Hacking Demo.
OK, and we are using a constant by putting everything in capital letters ister which is equal to all
the characters.
And when you want honesty, youve w, x, y, z.
OK, so all the characters also in the capital.
Then we run A for loop where we give for the key code and we are using your range and in that we are
putting the length of the constant that is letters SDR.
And in this for loop we create a variable translated text which is equal to then we see of another for
loop for C symbol.
Get in your message SDR variable.
You check if your symbol that in the.
Constant letters, staff, then you create another name, variables and lump sum, which is equal to
letters I still don't find for the simple character, which are basically get the number of symbols
that OK, and then you see the number as volume is equal to NUM as volume minus the value of.
Check if.
No, my is less than zero then no symbol is equal to no symbol, plus the length of letters SGA and
then we see the variable translated text, which will be equal to the translated text, plus the constant
letters SDR in the index of Lump-sum.
And if it is not the only one is not true, then go to the L spot.
And here we see the translated text is equal to translated text.
Plus the symbols get and at the end in the same for loop itself we print the code C hash we printed
and percent s Kolan percent s and then we print the value of key code comma the value of translated
text.
So let us save it as an e drive it hacking said dermo six dot by OK and save it.
Now if you try to run this you will get for each individual vendor equal to zero.
It will be displayed as it is because we are not shifting any characters there.
But as soon as the key code goes on, changing this will also be changed.
So one one character or the key code changes and the text also changes in a different way.
So if you're using a key code fifteen for this text, the encrypted text would look like this.
Similarly, if you use a key code five, the encrypted text would look like this.
This is basically how we are printing the values, using the key code and the encrypted text value.
OK, now we will do our last program on the outside, for example.
So let us close this also and go back and create a new.
Now here we would be creating the dictionary, which will look basically for the index of alphabets.
So we would be using your dictionaries instead of these are the only functions that we have already
used.
So the first thing we would create is a dictionary alpha one, which is equal to now in this we are
giving C in single code is having value one similarly say V colon to see colon three like that for all
the other values.
So the colon for E. Colon five f
six can move on to the next line c g seven then h h then I have nine then G as ten.
GI Colon eleven.
Then L colon twelve.
Then you have em, that is C 13 one to the next one, C and Colon 14.
For 15 feet 16, then you have CICU that a 17 C our 18 s 19 the.
Twenty, you say twenty one, the twenty two w twenty three.
It's too early for my.
Twenty five and last set, twenty six.
OK, so let's just give a proper spacing so that it is easy for us to read it, nothing else.
Otherwise, everything would be seen
similarly here also.
Again, this was not compulsory, but it is easy or more feasible for us to read it and we are making
it
and also to find, if any mistake we have made in the alignment, but.
Then.
The last one, OK?