1 00:00:00,620 --> 00:00:07,760 Now, let us create a new file, and here we will see some more examples on seasonal Saiful So we're 2 00:00:07,760 --> 00:00:18,320 going to basically define here amatol see in text, which will take the parameter as text start and 3 00:00:18,800 --> 00:00:20,240 say is code variable. 4 00:00:20,810 --> 00:00:29,270 Now in this particular matter we have a result SDR, which is equal to initially like freerunning for 5 00:00:29,270 --> 00:00:45,440 loops even in the range we use your length for the text SDR and the use of that SDR is equal to text 6 00:00:45,440 --> 00:01:00,410 SDR at the Elix Ivan and we check if the card is our DOT is in uppercase, then we see the result. 7 00:01:00,410 --> 00:01:05,190 SDR plus is equal to convert to catcher. 8 00:01:06,140 --> 00:01:14,690 You've already secured Esteve plus or minus sixty five, 9 00:01:18,290 --> 00:01:22,970 then modulus twenty six plus sixty five. 10 00:01:23,510 --> 00:01:29,000 Now if this is not true, we go for the L spot and we see the result. 11 00:01:29,010 --> 00:01:45,710 SDR plus is equal to use against the already of CAD SDR plus a score minus ninety seven modulo twenty 12 00:01:45,710 --> 00:01:48,860 six plus ninety seven. 13 00:01:49,700 --> 00:01:55,360 Now after this we see here the values return. 14 00:01:55,370 --> 00:02:04,310 The result SDR from the function and once that is done we end our function would be killed or text SDR 15 00:02:04,310 --> 00:02:10,610 is equal to give your value at see Caesar Saiful. 16 00:02:11,510 --> 00:02:17,620 Extra example in Python hacking. 17 00:02:18,110 --> 00:02:20,660 That is our text that we have given and we give. 18 00:02:20,660 --> 00:02:23,240 The value of this code is equal to say five. 19 00:02:23,610 --> 00:02:29,750 OK, then we use print and here we say the actual text 20 00:02:32,240 --> 00:02:35,420 is all use here. 21 00:02:35,420 --> 00:02:39,680 The value as text is still to print the actual text that has been given. 22 00:02:40,280 --> 00:02:43,720 Then we use another print matter we use here. 23 00:02:44,030 --> 00:02:56,660 The shift button code is, and we print here the value of converting to SDR of F. Scott. 24 00:02:57,620 --> 00:03:11,870 And then finally, we say the cipher text column and the value of we call your now encrypted text, 25 00:03:11,870 --> 00:03:20,000 which is a matter in this we pass the text SDR comma escort and whatever the value would be written 26 00:03:20,030 --> 00:03:21,360 will be printed over here. 27 00:03:21,950 --> 00:03:27,140 So let us save this as now we have to again save it. 28 00:03:27,150 --> 00:03:28,550 Inviting hacking beginner. 29 00:03:28,940 --> 00:03:32,360 Let us say it as a demo for thought. 30 00:03:32,760 --> 00:03:34,280 Be right, ok. 31 00:03:34,490 --> 00:03:42,740 And if we have to run this, we go for a run module and we get this particular actual text that has 32 00:03:42,740 --> 00:03:43,280 been given. 33 00:03:43,280 --> 00:03:50,620 And using this code five, we have encrypted this enough ciphertext pattern that is shown here. 34 00:03:51,110 --> 00:03:51,520 Right. 35 00:03:51,680 --> 00:03:59,660 So with this another way in which we can use the cipher could not similar to this, we would use another 36 00:03:59,660 --> 00:04:03,020 V for other, excepting the value of message. 37 00:04:03,260 --> 00:04:08,240 We will also see how actually it is being shifted and how we are basically printing it. 38 00:04:08,720 --> 00:04:11,250 OK, so we'll see another example on the same. 39 00:04:11,510 --> 00:04:18,980 So let's go back here and in the same month we see a new file so we can close the demo for. 40 00:04:20,380 --> 00:04:31,090 And in this, we will create first message text is equal to we accept the value from input C on new 41 00:04:31,090 --> 00:04:42,520 lines and until your text after this, we use a shift called variable, which is converting to integer, 42 00:04:42,880 --> 00:04:50,500 whatever the value of input that is, you're asking how many places to shift. 43 00:04:51,880 --> 00:05:01,810 OK, now with this, we create another matter, say Lower Alpha, Asgeir, and here we are going to 44 00:05:01,810 --> 00:05:04,650 store all the lowercase characters. 45 00:05:04,960 --> 00:05:12,430 That is a, b, c, d e f g h i j k l m n o p q oreste. 46 00:05:12,430 --> 00:05:15,460 Youve w x, y, z. 47 00:05:15,460 --> 00:05:18,310 All in the lowercase and the same thing. 48 00:05:18,310 --> 00:05:26,320 We will create another one, say Upper Alpha Astraea and we are just going to say here say Lower Alpha 49 00:05:26,650 --> 00:05:33,250 Estie are not convert to uppercase so that all values would be converted to uppercase and stored in 50 00:05:33,250 --> 00:05:35,780 a separate variable as opposed alpha astar. 51 00:05:36,280 --> 00:05:41,380 Similarly, we are going to create using numbers code that's equal to zero. 52 00:05:41,440 --> 00:05:44,660 One, two, three, four, five, six, seven, eight, nine. 53 00:05:45,040 --> 00:05:49,660 So all the numerical values are basic numerical values are stored in numbers. 54 00:05:50,500 --> 00:06:02,920 So now here we will take before SDR is equal to say, values, the lower alpha hestia plus the Upper 55 00:06:03,310 --> 00:06:08,590 Alpha SDR plus the numbers. 56 00:06:09,910 --> 00:06:20,650 OK, similarly, the after SDR is equal to say the lower alpha SDR in the bracket. 57 00:06:20,650 --> 00:06:31,900 We will use here the shift or ohlin, which means you to that, plus the lower alpha SDR. 58 00:06:35,670 --> 00:06:40,300 OK, and here we use the shift core. 59 00:06:41,350 --> 00:06:52,530 Plus let's move on to a new line so that it is displayed proper for Alpha Asgeir shift core. 60 00:06:53,700 --> 00:07:08,110 And plus, the Alpha Estie are calling shift code again here will add one more line C numbers code in 61 00:07:08,130 --> 00:07:16,860 bracket shift code, plus numbers called in bracket 62 00:07:20,400 --> 00:07:20,820 shift. 63 00:07:22,230 --> 00:07:29,790 OK, now after this, we see another variable C translation is still that's equal. 64 00:07:29,790 --> 00:07:34,260 Do we say still don't make sense. 65 00:07:34,620 --> 00:07:48,840 And we use your before FDR comma after a variable and we use a cipher text SDR as our message text that 66 00:07:48,840 --> 00:07:58,180 we have don't use or translate matal and parsing that the translation is still. 67 00:07:59,170 --> 00:08:03,480 Now we are going to print here the values forced. 68 00:08:03,480 --> 00:08:11,970 Seeing the coded message is OK and will print it over here. 69 00:08:12,580 --> 00:08:20,040 We'll see dort format and bracket the Saiful text to be printed.