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
2005 Entrepreneurship Conference - Taking on the Challenge: Jeffrey Bezos, Amazon
I want to talk a little bit about how we think about innovation at Amazon.com and, uh, give you a couple of examples from the world. This is the whiffle ball and the guy, his name is David Nelson Malany, and in 1953 he took a Cody perfume package and, ou…
An Educational Video About Monkey Sex | National Geographic
Aside from humans, in particularly your humble narrator, what primate species spends the least amount of time climbing? Gelada monkeys have, like us, adapted for a life spent mostly on the ground. This has produced some unique aspects of gelada anatomy, s…
Worked example: Using the reaction quotient to predict a pressure change | Khan Academy
A one liter reaction vessel contains 1.2 moles of carbon monoxide, 1.5 moles of hydrogen gas, and 2.0 moles of methanol gas. How will the total pressure change as the system approaches equilibrium at constant temperature? So, our carbon monoxide is react…
TIL: These Spiny Sea Creatures Can Regrow Lost Body Parts | Today I Learned
There’s an incredible group of animals out there called the echinoderms. They can actually regenerate a lost body part. So, a kind of derm essentially just means spiny skin, so derm like dermis, so skin, and a chi know is sort of spiny. So, sort of spiny …
How I built a $275 million biotech company from nothing
What I founded Envision, I just did not look like the typical biotech or healthcare founder. I’m a brown woman. I’m a woman of color, and I didn’t have any one of the many higher degrees that they like, you know, MBA, PhD, MD. So there I am with my little…
Warren Buffett: Should You Invest in a Stock With a High P/E Ratio?
Olympic diving and Olympic diving. You know they have a degree of difficulty factor, and if you can do some very difficult dive, the payoff is greater if you do it well than if you do some very simple dive. That’s not true in investments. You get paid jus…