yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Hashing - (Password Security)


2m read
·Nov 3, 2024

Maads 101 here today. This is a video on password security.

Now, a few subscribers have been commenting in personal messaging us and saying that they want us to get their parents' passwords or their friends' passwords. So, let me just explain something about getting passwords.

For most services, your password is "hashed." And on the Mac, I know it is hashed. What hashed means is that when you type your password and set your password for the first time, it takes your password and, in some services, it uses your username and hashes them. So, it does a unique math algorithm to your password and supposedly your username, and makes a random number out of that.

Now, that math algorithm it ran your password through cannot be undone. So now you have this random number that is the hash of your username and password put together. Then, when you log in, it takes your password and your username again. When you've typed your password to log in, it hashes them. If they equal this hash, then they log you in; but if the hash does not equal the original saved hash, then it doesn't log you in.

So, passwords are not stored in plain text; they are hashed in this one-way algorithm. If you want to find a password, you'd be root forcing it. You'd be making programs to go through and guess every single password and hash the password, then check it. Unfortunately, that would be too time-consuming and just not good in general.

But, let me just demonstrate this. I'm going to take my password and my username, click encrypt, and here's the encryption code for my password. I'm going to copy this; so right now, this is the hash of my username and password: F Etc Q la la la.

So now, if I log in, say I type a random password, clicking encrypt—it’s not going to equal that original hash. It's going to equal something different. So that's why hashing is very secure. It’s what all the advanced systems do.

I know for some of you, if you click "forget password," and then type the answer to your security question, they might email you your password. If that's the case, then they don't hash your password, and your passwords with that are in plain text. But I say you don't have to worry about that too much on the Mac because your password is, in fact, hashed on your Mac.

So, thank you for watching Maads 101. Subscribe and give back!

More Articles

View All
Ideology and social policy | US government and civics | Khan Academy
In this off-white color, I have a handful of statements that you might hear folks say, especially in the United States. What we’re going to think about is, are these statements that you would typically hear from a liberal? I’m gonna make a little key here…
Steve Jobs Didn’t Care What You Thought!
The ones of you that will be successful in here will develop the ability to distinguish signal from noise. The distractions are called noise, and the signal is what your mandate is, whatever that is. I worked for Steve Jobs years ago, developing all his e…
Khan Academy India Talent Search 2017
Hi, I’m Sal Khan, founder of the Khan Academy, and I just want to let you know about our India talent search. As you might know, Khan Academy, we’re a not-for-profit with a mission of providing a free, world-class education for anyone, anywhere. To us, t…
15 Things The Rich Don’t Have to Do
Rich people don’t worry about where their next meal is going to come from or if they’ll be able to make rent on Friday, but these are caused by a direct lack of money. Rich people use their money to build infrastructure around themselves so they don’t hav…
Why Mosquitoes Bite Some People More Than Others
Are you the person in the group who’s always getting bitten by mosquitoes? Because I certainly am, and science has shown that this is a thing—that mosquitoes are more attracted to some people than others. And the reason for that is at least partially gene…
Later stages of the Civil War part 2
All right, so we’ve been talking about the later stages of the Civil War. In the last video, we just did a brief overview of the end of 1863, after the North has won the Battle of Gettysburg and Lee has been turned around and sent back down to Richmond, w…