1 00:00:00,360 --> 00:00:09,590 Then the next brigade commander has again a new line safe from print here, the value of using the old 2 00:00:09,600 --> 00:00:14,550 format, the value of before SDR. 3 00:00:15,420 --> 00:00:20,790 Similarly, print space, say to 4 00:00:23,910 --> 00:00:36,550 Folan again, print your revenue line dot format the text of after up, let us save it as demo five 5 00:00:36,570 --> 00:00:37,810 dot devi. 6 00:00:38,280 --> 00:00:42,300 OK, and now if we try to run this module. 7 00:00:43,740 --> 00:00:49,420 Sorry, we have started with the ended with a double cold, so we have to also started with the double 8 00:00:49,470 --> 00:00:58,080 quotes, let us see it and go back to run run, module it, ask for enter your text. 9 00:00:58,080 --> 00:01:00,300 Say this is another 10 00:01:03,270 --> 00:01:09,690 example from Cecil Saiful. 11 00:01:10,080 --> 00:01:11,630 How many places you want to shift? 12 00:01:11,640 --> 00:01:14,520 Say we give five some mistake here. 13 00:01:15,360 --> 00:01:23,070 This is we have used after a ah I think here it is Esteva. 14 00:01:24,390 --> 00:01:25,380 Let us see it. 15 00:01:25,890 --> 00:01:26,790 Run it again. 16 00:01:28,290 --> 00:01:38,460 This is another example on SESAR Saiful see five places. 17 00:01:38,790 --> 00:01:40,740 So now here you see force. 18 00:01:40,740 --> 00:01:45,990 We have the lower one then we have the upper one percent and then we have the numbers. 19 00:01:46,170 --> 00:01:52,850 OK and here when we are seeing from eight ok now by default we are seeing shifted to five. 20 00:01:53,070 --> 00:01:57,630 So when we say five we are shifting this a b c d e f. 21 00:01:57,900 --> 00:02:02,090 So five that is F will be starting from here rest. 22 00:02:02,100 --> 00:02:03,510 Everything will be the same. 23 00:02:03,840 --> 00:02:10,440 So over here when you see if we have given an example of A capital B now what is replacing capital B, 24 00:02:11,130 --> 00:02:12,300 that is why. 25 00:02:12,840 --> 00:02:14,370 So Y comes here. 26 00:02:14,730 --> 00:02:23,730 What is replacing small H, that is your aim now just to make it more meaningful, what will have to 27 00:02:23,730 --> 00:02:33,080 do is we are supposed to say give it like this, save it and now let us run it. 28 00:02:34,690 --> 00:02:35,290 S.. 29 00:02:37,890 --> 00:02:39,200 Let's take a small one. 30 00:02:40,620 --> 00:02:43,160 It has shifted to many spaces. 31 00:02:44,610 --> 00:02:58,850 Fine, let's see by giving two more speeches, five, one more five and run it five kilometers. 32 00:02:59,370 --> 00:03:01,260 So now see, it is capital E.. 33 00:03:01,740 --> 00:03:05,540 What is replacing capital E. It is G that is coming here. 34 00:03:05,940 --> 00:03:09,330 If we say X, what is replacing a small X? 35 00:03:09,330 --> 00:03:09,660 It is. 36 00:03:09,690 --> 00:03:11,100 See, that's coming. 37 00:03:11,100 --> 00:03:12,020 The next character. 38 00:03:12,420 --> 00:03:16,650 What is replacing A that is F so F is coming here. 39 00:03:16,980 --> 00:03:25,440 What is replacing M that is are you can see here and replace are similarly B replaces you then your 40 00:03:25,440 --> 00:03:30,690 L is replaced by you and your E is replaced by G. 41 00:03:31,020 --> 00:03:38,610 OK now similarly now this is not that it has to be in the same order since we have given how many characters 42 00:03:38,610 --> 00:03:39,390 we want to shift. 43 00:03:39,390 --> 00:03:44,250 Five, that is how it is shifting the five characters and then it has been replaced. 44 00:03:44,550 --> 00:03:52,080 For example, we go back here and we again run this now, this time we give the value us again. 45 00:03:52,080 --> 00:03:52,500 Same. 46 00:03:53,820 --> 00:04:01,720 Example, but now we see shifted seven, so when we say seven, the first six it but it is A, B, C, 47 00:04:01,720 --> 00:04:07,040 D, E, F, G, these all all shifted and it starts from H. 48 00:04:07,270 --> 00:04:13,270 So now you can see the earlier one, the encoding rate and the current encoding will be different. 49 00:04:13,600 --> 00:04:21,070 So every time you replace it, if you don't print this, you're not understanding how basically it is 50 00:04:21,070 --> 00:04:27,790 replacing a particular character with some different character by shifting some certain level of numbers 51 00:04:28,030 --> 00:04:30,580 or characters in the next string. 52 00:04:30,850 --> 00:04:31,300 Right. 53 00:04:31,330 --> 00:04:37,090 So in this way, every time you try to use this site, for example, it would give you some different 54 00:04:37,090 --> 00:04:41,130 output because a number of places to shift may only. 55 00:04:41,160 --> 00:04:45,340 If that is the same, then you're able to understand with the help of this, not since we have printed 56 00:04:45,340 --> 00:04:51,490 it, but if we have not printed it, it is difficult for us to understand how basically it is executing 57 00:04:51,490 --> 00:04:52,580 in the background. 58 00:04:53,410 --> 00:05:00,710 So even though one example at the fourth example we have done for I 4.5 also execute in a similar manner, 59 00:05:01,200 --> 00:05:07,010 OK, this year thing by some certain characters and then it is executing the given particular code. 60 00:05:08,260 --> 00:05:11,080 So now let us see another example. 61 00:05:11,530 --> 00:05:13,030 Let us close on this. 62 00:05:13,060 --> 00:05:21,940 And again, we will create from the shell on you five and here we will create variable messages still 63 00:05:22,270 --> 00:05:22,540 red. 64 00:05:22,660 --> 00:05:31,060 We are giving the value over here, says Bitin Hacking Demo. 65 00:05:31,510 --> 00:05:42,910 OK, and we are using a constant by putting everything in capital letters ister which is equal to all 66 00:05:42,910 --> 00:05:43,690 the characters. 67 00:05:45,070 --> 00:05:49,810 And when you want honesty, youve w, x, y, z. 68 00:05:50,440 --> 00:05:53,310 OK, so all the characters also in the capital. 69 00:05:53,770 --> 00:06:02,230 Then we run A for loop where we give for the key code and we are using your range and in that we are 70 00:06:02,230 --> 00:06:07,900 putting the length of the constant that is letters SDR. 71 00:06:08,530 --> 00:06:19,300 And in this for loop we create a variable translated text which is equal to then we see of another for 72 00:06:19,300 --> 00:06:23,040 loop for C symbol. 73 00:06:23,440 --> 00:06:28,580 Get in your message SDR variable. 74 00:06:29,140 --> 00:06:35,050 You check if your symbol that in the. 75 00:06:36,190 --> 00:06:45,520 Constant letters, staff, then you create another name, variables and lump sum, which is equal to 76 00:06:46,570 --> 00:06:55,870 letters I still don't find for the simple character, which are basically get the number of symbols 77 00:06:55,870 --> 00:07:04,990 that OK, and then you see the number as volume is equal to NUM as volume minus the value of. 78 00:07:06,700 --> 00:07:07,780 Check if. 79 00:07:09,100 --> 00:07:23,080 No, my is less than zero then no symbol is equal to no symbol, plus the length of letters SGA and 80 00:07:23,080 --> 00:07:36,520 then we see the variable translated text, which will be equal to the translated text, plus the constant 81 00:07:36,520 --> 00:07:40,180 letters SDR in the index of Lump-sum. 82 00:07:40,930 --> 00:07:46,870 And if it is not the only one is not true, then go to the L spot. 83 00:07:47,200 --> 00:07:56,410 And here we see the translated text is equal to translated text. 84 00:07:56,980 --> 00:08:10,960 Plus the symbols get and at the end in the same for loop itself we print the code C hash we printed 85 00:08:10,960 --> 00:08:24,790 and percent s Kolan percent s and then we print the value of key code comma the value of translated 86 00:08:25,300 --> 00:08:25,950 text. 87 00:08:26,650 --> 00:08:37,210 So let us save it as an e drive it hacking said dermo six dot by OK and save it. 88 00:08:37,630 --> 00:08:44,830 Now if you try to run this you will get for each individual vendor equal to zero. 89 00:08:45,220 --> 00:08:50,080 It will be displayed as it is because we are not shifting any characters there. 90 00:08:50,470 --> 00:08:55,590 But as soon as the key code goes on, changing this will also be changed. 91 00:08:55,810 --> 00:09:02,340 So one one character or the key code changes and the text also changes in a different way. 92 00:09:02,620 --> 00:09:08,100 So if you're using a key code fifteen for this text, the encrypted text would look like this. 93 00:09:08,410 --> 00:09:12,280 Similarly, if you use a key code five, the encrypted text would look like this. 94 00:09:12,640 --> 00:09:18,800 This is basically how we are printing the values, using the key code and the encrypted text value. 95 00:09:19,080 --> 00:09:24,370 OK, now we will do our last program on the outside, for example. 96 00:09:24,760 --> 00:09:29,140 So let us close this also and go back and create a new. 97 00:09:29,980 --> 00:09:36,580 Now here we would be creating the dictionary, which will look basically for the index of alphabets. 98 00:09:36,820 --> 00:09:42,310 So we would be using your dictionaries instead of these are the only functions that we have already 99 00:09:42,310 --> 00:09:42,880 used. 100 00:09:43,390 --> 00:09:51,400 So the first thing we would create is a dictionary alpha one, which is equal to now in this we are 101 00:09:51,400 --> 00:10:08,710 giving C in single code is having value one similarly say V colon to see colon three like that for all 102 00:10:08,710 --> 00:10:09,570 the other values. 103 00:10:09,910 --> 00:10:19,000 So the colon for E. Colon five f 104 00:10:21,340 --> 00:10:44,490 six can move on to the next line c g seven then h h then I have nine then G as ten. 105 00:10:48,100 --> 00:10:50,980 GI Colon eleven. 106 00:10:52,510 --> 00:10:56,590 Then L colon twelve. 107 00:10:58,850 --> 00:11:12,290 Then you have em, that is C 13 one to the next one, C and Colon 14. 108 00:11:14,140 --> 00:11:38,530 For 15 feet 16, then you have CICU that a 17 C our 18 s 19 the. 109 00:11:39,830 --> 00:11:52,580 Twenty, you say twenty one, the twenty two w twenty three. 110 00:11:54,230 --> 00:11:59,110 It's too early for my. 111 00:12:00,500 --> 00:12:05,300 Twenty five and last set, twenty six. 112 00:12:05,840 --> 00:12:17,490 OK, so let's just give a proper spacing so that it is easy for us to read it, nothing else. 113 00:12:17,540 --> 00:12:20,030 Otherwise, everything would be seen 114 00:12:23,960 --> 00:12:25,370 similarly here also. 115 00:12:32,530 --> 00:12:40,390 Again, this was not compulsory, but it is easy or more feasible for us to read it and we are making 116 00:12:40,390 --> 00:12:40,630 it 117 00:12:43,360 --> 00:12:47,980 and also to find, if any mistake we have made in the alignment, but. 118 00:12:49,750 --> 00:12:50,140 Then. 119 00:12:53,890 --> 00:12:55,370 The last one, OK?