Hashing (1.3.1 d) Flashcards
(2 cards)
1
Q
Hashing
A
hash function turns any length of input into a fixed length input
e.g SHA-256 algorithm turns any input into 256 bits
ideally you cannot reverse a hash function and there are minimal collisions
before being hashed a password is salted
password hash is transmitted not the password
in the database only the hash should be stored to compare when logging in
only useful for comparison not storing or transferring
hash browns
2
Q
What is salting?
A
adding some random characters through the plain text before applying the hashing algorithm