COMPUTER FUNDAMENTALS

COMPUTER ETHICS AND SECURITY

CRYPTOGRAPHY AND ENCRYPTION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following would be the most secure method when storing passwords in a database?
A
Passwords are hashed.
B
Passwords are saved as plaintext.
C
Passwords are both salted and hashed.
D
Passwords are encrypted using an algorithm.
Explanation: 

Detailed explanation-1: -Better Way of Storing User’s Password? The first step that you want to take is to hash your user password with a hashing function before storing it in the database. Unlike encryption, hashing function can only go one way, and the result of hashing a specific string will always be the same.

Detailed explanation-2: -The best way to save your passwords, experts say, is to lock them up in a password manager such as Dashlane, Keeper Security or LastPass. These tools let you set up unique passwords for all of your accounts, and you only have to remember the master password that lets you into your password manager’s vault.

Detailed explanation-3: -Encryption. Encryption is a small step up from storing passwords in plain text. You can think of encryption like putting the users passwords in a box locking it with a padlock.

Detailed explanation-4: -A cryptographic salt is made up of random bits added to each password instance before its hashing. Salts create unique passwords even in the instance of two users choosing the same passwords. Salts help us mitigate hash table attacks by forcing attackers to re-compute them using the salts for each user.

There is 1 question to complete.