So now we have completed hashing passwords in this don't salting and hashing passwords with big.
So as you can see here, we keep.
So.
This is how to install makeup and women shall be equipped.
Probably use it.
Make it solid on plain text and some other plain text, and then to hash a password, you can use the
general method or just do the hash meter reject password so you can go to the documentation, but I'll
show you the procedure how to do this.
So basically, before that, we're discussing procedure to do this.
Excuse me.
So in the previous industry there, hashing it.
OK.
This password, I said that this password can be cracked using a dictionary attack.
So what we are doing is other than the password that the user is entering, that extending the length
of the password by randomly, by adding some randomly generated set of characters to the password.
So this randomly generated set of characters is called soldi.
OK.
So, for example, in the database, we installed the.
So now you might get one, though, since we are salting it like randomly generated, got this hold?
How would we how do we know which salt we have used when the user tries to log in to compare the password
in the database?
So basically, once this randomly generated salt is created, even stored the salt in the database.
OK, so you're going to be storing the salt in the hash functions that we are using in the database.
So we will get the password from the user, so we get the password from the user.
And then we'll add it with the salt.
And then this combined a new password with the larger length, then we'll use the hash function to.
Hash function to it, and then this will turn into a hash.
So not the length of the password, because that means the dictionary attack your your password.
Being in the dictionary dictionary attack will be less, the chances will be less and just the length
of the password increases.
It will be it will take more time to crack it and mescaline grows exponentially.
So this this will be doing using be clipped, so.
Labor's bills can only calculate 17000 B capacities per second, whereas if you see the modified ish
20 billion, so 20 billion and seventeen thousand that you know our lifetime difference.
So yeah.
So this is one of the industry standard algorithms that developers use to keep their users password
safe.
OK, now what do you mean by small drones?
Solved problems.
Any guesses?
Basically solving multiple times.
So you will have your passport solved.
This will go through hash function.
And then you'll get some hash now with this hash, you'll.
And again.
A.
And this will go through.
Your hash function and then this will produce some hash.
And then again, you'll add some salt.
So basically when hash function, you get the hash that will have it have more length, obviously.
And then to that model, again, we're adding some randomly generated off characters.
And again, we're passing this.
So we'll be storing this salt every time that we ended it and then the hash function in the database.
So doing this multiple times almost makes your, you know, the risk of your getting your passwords,
getting breached to almost 0.1 percent so that it'll be very large chunks that are password will be.
So the number of times we do this, the number of small drones, it is so now.
There is one law called Moore's Law.
It says it states that every year the number of transistors in a computer chip almost doubles and the
cost of the faster computers half.
So this is where smartphones is helpful and comes into the picture, OK?
Basically, transistors increase and then the cost of the faster computers have.
Will we have?
So one note you have to remember is depending on the motivation, they also have a big good watch and
that is compatible with that version of the note.
OK, so there are very specific of not supporting unstable versions of note there.
So there are more chances of bugs, and they are always recommend you to use the latest stable version
of note.
So one thing you have to remember is the note should be updated.
If you're not, you should feel naughties are better.
Then you can simply install be confusing and demonstrate to be correct.
So this is how the baker looks.
So we'll see the court for that.
So this is basically the court for.
Hashing and sorting.
Well, actually, we have defined dark side rooms and then in the post request that it was in big report
hash.
So they're really getting this big refund, if you can see we have required this big trip.
OK.
That's why we're in level Typekit.
Don't worry, you will be getting access to this phone call.
You can go through all of the videos, but it's no problem.
Nice try to understand the concept.
So now we're getting using the password, using the body, you know, body parts, and then we are mentioning
the Sartre's and then we'll be good.
That will be a callback function.
He added We are creating a user, so the user will be requested by relatives.
And then when the password will be the hash that will be the hash will be getting from the encrypted
hash to this function as a result of this thing.
So as this is done, we can save that in the database.
So once we say we can allow the user to render the posts.
And then post metadata sent here to you can, you know, you can find the whenever that user is posting,
you can find the hash from the database and then compare it with the result.
If it is true, we will render it.
So there is a function to compare that is being compared.
So all of this documentation of it works.
It is present over here like be CryptoCompare, be computer generated solid.
So this is one way to do it where we can mention this all around.
No need to mention any salt to generate salt.
As you can see here, we are just mentioning the salt runs and it will do it by itself.
So this is how Beecroft works for hashing and salt.
OK.
So with this, you completed the main portions of the said security, not indication, the remaining
things are cookies and sessions and Google authentication.
So what do you mean by cookies and sessions on Google authentication using passport logins for that
and Google what we were dealing with the Google console and everything.
So we'll see that from the next year.
That's all for this video.
Thank.