Daily Learning - Day 27
Date: 2nd March 2017
Below are the topics i learnt today..
Follow Hashtag: #SKC100DaysofLearning
Topic 1: Security - Strong Passwords Secure Way.
Instead of storing as plain text, Convert the password to a fixed length encrypted string using hashing algorithm.
Problem: If you have same password for multiple users: the encrypted string will be same.
To Solve this, We need to ensure every hash is unique.
Adding a Salt, which is a unique key to the hashing algorithm can be used only by that username.
Final: Even if multiple users chose the same password, their hash values would not be the same.
Advice from Security Researchers: Not to store the SALT in Database.
It should dynamically apply based on initial character of Original Password.