1 00:00:00,420 --> 00:00:01,830 So that's in the previous room. 2 00:00:01,950 --> 00:00:04,480 Here, take a look at this, where it was now in this video. 3 00:00:04,510 --> 00:00:06,900 We're going to take a look at this user input. 4 00:00:06,900 --> 00:00:11,880 So there will be some times where user enters some, uh, input into the console. 5 00:00:11,910 --> 00:00:14,190 So you need to store it as a variable rate. 6 00:00:14,390 --> 00:00:15,830 So let's go ahead and do that. 7 00:00:16,560 --> 00:00:25,530 Let's, uh, be equals two and to read the input from the ocean to really pushed. 8 00:00:27,230 --> 00:00:33,430 And you can just, uh, do the string for the user to enter something because there is no strings, 9 00:00:33,440 --> 00:00:36,420 the user thinks the parser program is running. 10 00:00:36,760 --> 00:00:47,750 So you need to enter some suggestion, our input string to make user to enter the input into some value. 11 00:00:53,810 --> 00:00:55,670 I'm going to just put this one. 12 00:00:58,700 --> 00:01:01,370 So let's go on this night asking for input. 13 00:01:01,400 --> 00:01:03,790 Let's send it to right. 14 00:01:04,550 --> 00:01:13,460 Turning now, Potasnik now let's get the tape so we will see by default how the values are being stored 15 00:01:13,460 --> 00:01:16,250 in which data to see if we can run this. 16 00:01:16,370 --> 00:01:19,670 That's an engineering adjusting format. 17 00:01:19,680 --> 00:01:29,180 So sometimes you run counter like enter how many hours and the number of hours. 18 00:01:29,570 --> 00:01:37,190 So in that case, either, uh, obviously, uh, the user will do no. 19 00:01:37,190 --> 00:01:37,460 Right. 20 00:01:37,930 --> 00:01:39,080 Uh, number of hours. 21 00:01:39,440 --> 00:01:41,570 Then we need to convert this into integer. 22 00:01:41,570 --> 00:01:48,290 So you need to do is to put that input into their day in, uh, square brackets to do now that this 23 00:01:48,290 --> 00:01:50,090 is the, uh, integer. 24 00:01:51,140 --> 00:01:55,400 So that's going to run this over another six hours. 25 00:01:56,010 --> 00:01:59,440 And as you can see, no, we have converted to integer. 26 00:02:01,160 --> 00:02:06,780 So there is another way of storing that, getting the input that is in a secure format. 27 00:02:07,250 --> 00:02:14,150 So these are the plaintext characters like St Kilda and etc. So if anyone is entering the password, 28 00:02:14,150 --> 00:02:21,110 then it should not be visible to others are claiming to YouTube, then rendering some main credentials, 29 00:02:21,110 --> 00:02:24,880 then it should not be stored in this file as a plaintext format. 30 00:02:25,430 --> 00:02:26,600 So all we can do is. 31 00:02:28,850 --> 00:02:31,310 And you can turn to password 32 00:02:33,680 --> 00:02:40,790 and I want to switch to the option as secure as you can see, the other options you can, uh, use with 33 00:02:40,790 --> 00:02:41,720 this real host. 34 00:02:41,780 --> 00:02:43,980 And now I'm going to use this as a cushy. 35 00:02:46,430 --> 00:02:48,260 So now you see the difference. 36 00:02:48,290 --> 00:02:51,550 I'm going to review this in detail because I want to show this as a string. 37 00:02:52,620 --> 00:02:53,840 So let's run this. 38 00:02:54,710 --> 00:02:56,390 So it's Soskin Right Center. 39 00:02:56,680 --> 00:03:00,890 So now I'm going to take a child and make a child. 40 00:03:01,190 --> 00:03:07,370 So as you can see, the plaintext password protection is not showing because those are being represented 41 00:03:07,370 --> 00:03:07,960 by these dots. 42 00:03:07,970 --> 00:03:11,830 So it's like cool to enter the input Canakkale. 43 00:03:16,650 --> 00:03:17,310 All right. 44 00:03:20,270 --> 00:03:24,560 Previously, we had create the integer, right, so that's why we need to degrade the segment because 45 00:03:24,740 --> 00:03:27,360 it's in memory and it's going to be changed. 46 00:03:27,650 --> 00:03:29,600 So let's add this again. 47 00:03:29,840 --> 00:03:32,840 And now we can see our string B has been stopped. 48 00:03:34,130 --> 00:03:36,680 So now I want to print this one. 49 00:03:40,890 --> 00:03:45,610 So we cannot bring this very close because we are still adjusting. 50 00:03:45,630 --> 00:03:51,930 So it will be stored in some secure format and using this class of this object system does a good job 51 00:03:51,960 --> 00:03:52,480 security. 52 00:03:53,100 --> 00:03:56,090 So this is the this object. 53 00:03:56,100 --> 00:04:02,580 So to convert this into the plaintext and I have found this one because I don't have experience with 54 00:04:02,580 --> 00:04:03,120 the dot net. 55 00:04:03,120 --> 00:04:04,740 So I just Google this. 56 00:04:05,140 --> 00:04:06,890 I know what you're going to use. 57 00:04:06,930 --> 00:04:17,400 You can use this, uh, uh, instruction can see here it's like martially because, uh, this parser 58 00:04:17,400 --> 00:04:24,600 will be converted in to some serious data or some of that can be stored in database. 59 00:04:24,900 --> 00:04:26,250 And it's not readable. 60 00:04:27,180 --> 00:04:29,000 It's something something format. 61 00:04:29,040 --> 00:04:34,610 Then we need to demonstrate our these areas to the British passport. 62 00:04:34,860 --> 00:04:36,900 So requesting to be used here. 63 00:04:36,930 --> 00:04:42,600 This is a binary so we can convert this liberation to normal ASCII characters. 64 00:04:42,600 --> 00:04:45,210 So it's copied and pasted in our code. 65 00:04:49,780 --> 00:04:51,180 So instead of password. 66 00:04:51,490 --> 00:04:56,230 All right, let's send this BE2 password so it will be much. 67 00:04:56,550 --> 00:04:58,300 You can also join this password to be. 68 00:05:02,110 --> 00:05:03,850 So now let's run this. 69 00:05:03,900 --> 00:05:09,570 Now let's Nicole and I get together now if you click on Peacocke. 70 00:05:16,550 --> 00:05:22,160 So it's seeing current arguments with we try to be clear. 71 00:05:22,880 --> 00:05:32,410 So let's go and read this one, because we do not want this right to recruiting this object to Kikukawa. 72 00:05:42,120 --> 00:05:43,710 So does the pasodoble. 73 00:05:52,030 --> 00:05:53,590 So let's go ahead and run this one. 74 00:05:57,030 --> 00:06:02,880 As you can see, we got the plain text, we haven't had the nickel, but it's not visible at the time 75 00:06:02,880 --> 00:06:04,970 because we have used this as a cushion. 76 00:06:06,030 --> 00:06:13,050 So these other methods, you can take the input, you can take the importance of plain text, or you 77 00:06:13,050 --> 00:06:17,220 can use this as a cushion to hide the plaintext. 78 00:06:19,360 --> 00:06:27,580 And one thing I forgot to tell you is we can in the previous year that we can assign multiple variables 79 00:06:27,850 --> 00:06:28,690 at the same time. 80 00:06:28,720 --> 00:06:38,350 That means we can assign multiple values to the multiple was involved in all to say is C, comma, Narada 81 00:06:40,000 --> 00:06:40,540 comma. 82 00:06:41,500 --> 00:06:45,460 Suppose I can say is equal to no. 83 00:06:45,460 --> 00:06:47,990 I can take one command to command three. 84 00:06:48,730 --> 00:06:56,290 So this one value will be assigned to this Dallasite and two will be assigned to the variable and three 85 00:06:56,290 --> 00:06:57,720 where they will be assigned to the evil. 86 00:06:58,990 --> 00:07:04,840 You can just print those variables and dollars C. 87 00:07:09,530 --> 00:07:12,080 Dorothy and Dorothy. 88 00:07:17,180 --> 00:07:22,280 So as you can see, you know, the Syrian rebels have been assigned respectively to these variables, 89 00:07:23,660 --> 00:07:31,460 so this is all about taking input by using this reinforced command so we can also take the secure input 90 00:07:31,460 --> 00:07:33,110 by using this as a cushion.