wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

A little bit of salt is all the hash needs!

profile
Aston Dsouza
Aug 18, 2022
4 Likes
2 Discussions
162 Reads

You have have heard about the term "Salting" with respect to passwords.So what actually is salting? Does it improve the security of password? How does salting work? Lets find out!

So What is password Hashing and Salting?

A hash is just a way to represent any data as a unique string of characters.Hashing can use lengthy unique strings depending on the type of algorithm applied.Commonly used hash is Md5 which returns a 32 character hash.When you make an account on a website or app, the password you use must be saved so that you can be recognized the next time you visit. However, this password cannot be saved in plaintext, i.e without any formatting or coding. To prevent hackers from accessing your account, the password must be hashed.

                                                       

Salting is the process of adding unique random strings of characters to passwords  before the password is hashed.These unique strings of characters that are added before or after the password is known as the "salt".This is done to change the hash and make the password more secure and hard to crack.Salting adds an extra degree of protection to hashing. To increase the security of a hash, unique sequences of characters are added to the password before hashing to modify the hash.

For example if you login to a website with the password: Password123. Before that password gets hashed, a salt value is added to it. Consider the alt value added to the password is  AH#$1D, your salted password becomes Password123AH#$1D or AH#$1DPassword.This  salted password is then hashed and stored in the database alongside other password hashes.

Suppose your orginal password is Password123 and its hash is 2f56eecd822cc9bd6ceb9f8990cc859d.

Adding salt ,makes the salted password as Password123AH#$1D and its hash to 914d738342254c4ea67e148719be5d89

As we can see the hashes are completely different. The password remains the same when you visit the site, but the hash is more secure against exploitation.Hash is usually very helpful if you have a weak password that can be cracked easily

What is the purpose of Salting these passwords?

To Strengthen Weak Passwords

Since hackers use techniques such as bruteforcing that use vast directories of words or numbers,It makes it easy for a hacker to guess the password using various permutations and combinations,especially if your password is a simple one or weak.Hackers also use RainbowTables which have terabyte of data that uses reverse engineering to guess passwords.Hence salt must be added to password which makes the use of Rainbow Tables useless.

To make passwords hashes unique

Salting is also important when two or more users have the same passwords. Adding different randomized salts to each password helps to make each unique

 

 

 

 

 

 


Comments ()


Sign in

Read Next

Music is life

Blog banner

Little Habits, Big Impact: Daily Preschool Routines That Shape the Future

Blog banner

Constrained Management in IT

Blog banner

Perfect Moments to Wear a Rich Patola Design Outfit

Blog banner

IP ADDRESS

Blog banner

Why Is Freshly Cooked Food Better Than Processed Food for Everyday Health?

Blog banner

7 Perks of Getting Your Teeth Whitening Done Professionally

Blog banner

Finding Meaning, and Identity : Understanding Existential Concerns and Mental Well-being

Blog banner

Why is it hard to design an Operating Systems ?

Blog banner

Virtual memory in os

Blog banner

Memory Management

Blog banner

RSA (Rivest-Shamir-Adelman) Algorithm

Blog banner

JUSTICE FOR EVERY “BEZUBAAN ANIMAL”

Blog banner

Evolution of Operating Systems

Blog banner

Multiple processor scheduling

Blog banner

Safe Learning Spaces: Why Preschool Environment Matters More Than Ever Today

Blog banner

An Overivew Of Cache Memory

Blog banner

Why Travellers from Miami & Orlando Are Visiting Arcadia for Weekend Getaways?

Blog banner

Business Intelligence v/s Big Data

Blog banner

Constrains in service design

Blog banner

How Does SSO Works

Blog banner

?Your Guide to Great Flossing, by the best affordable dentist in Maroubra

Blog banner

Memory Management in Operating System

Blog banner

Women Empowerment

Blog banner

SPAM

Blog banner

Juveniles, Internet and Computer Crime

Blog banner

BITCOIN WALLET

Blog banner

Admissions Open: Why This Is the Right Time to Choose the Best School for Your Child

Blog banner

A buffer overflow

Blog banner

Supervised and Unsupervised Learning

Blog banner

Review on Cyber Forensics and its Analysis Tools

Blog banner

Cyber Security Standards

Blog banner

File Sharing

Blog banner

Deadlocks in operating system

Blog banner

Traditional Unix System

Blog banner

A Day in the Life at Elzee: What Your Child Does Between Drop-Off and Pick-Up

Blog banner

Importance Of Yoga.

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Memory Management

Blog banner

Technological Advancement

Blog banner

Virtual Memory

Blog banner

Facebook Shut Down an AI Program!!! Facebook AI bots became Terminators???

Blog banner