1 00:00:00,480 --> 00:00:04,300 This stage where he stole the password like this, and this is not safe. 2 00:00:05,010 --> 00:00:12,600 So we are going to ask some harshing and to do this, we are going to use the pack. 3 00:00:12,750 --> 00:00:19,950 And for example, if there is a password, one, two, V4, we are going to add a sword just like this 4 00:00:20,490 --> 00:00:22,230 one to a faithful ABC. 5 00:00:22,230 --> 00:00:29,370 And then we go to the hash functions and then we produce a password like this and store into that Mongo 6 00:00:29,370 --> 00:00:32,940 DB So it goes into Poljac. 7 00:00:34,380 --> 00:00:37,260 And then for us, we are going to install the crib 8 00:00:42,210 --> 00:00:47,610 and then we use before we saved the password, we are going to generate a sword. 9 00:00:47,790 --> 00:00:51,330 But first we are going to import to be creped. 10 00:00:54,220 --> 00:00:58,050 And then the constant thought is equal to a weight. 11 00:00:59,910 --> 00:01:07,110 And because we want to use our weight, we have to add anything and be crude and sold. 12 00:01:08,430 --> 00:01:17,260 And then we already know that these refer to the other instance that we created so we can use these 13 00:01:17,260 --> 00:01:21,660 thought possible is equal to our weight 14 00:01:24,420 --> 00:01:26,600 and Abigroup the calf. 15 00:01:27,360 --> 00:01:32,830 And then we passed the password and also the thought that we just created. 16 00:01:33,720 --> 00:01:37,200 Now we can start the server. 17 00:01:40,670 --> 00:01:46,520 And then we go to change the name and also the email and then we send. 18 00:01:46,880 --> 00:01:52,090 Now we can see the password already changed to the hash, the password. 19 00:01:52,700 --> 00:01:59,740 And if you look at the Wango DB, we can also see this password is different from this one. 20 00:02:00,020 --> 00:02:04,670 So we can delete this user and also we can delete this. 21 00:02:06,240 --> 00:02:09,230 And also, we do not need to consult log.