Week 13: Secure Password Generation and Storage Flashcards
What are some ways that user Alice can authenticate herself to Bob?
- token
- cookie
- password
- passphrase
- fingerprint
What’s the difference between an online attack and a offline attack?
Online attack - trying to input password into server
Offline attack - password protected data obtained, hacker attempts offline
Why are passwords salted?
Each password has a unique salt added before hashing so same passwords don’t generate the same hash and so finding the password based on hash is harder.
What is key stretching?
Making hashing deliberately slow so multiple attempts take much longer.
What is PBKDF2 and how does it work?
Function to make hashing slower. Hashes multiple times.
What is the disadvantage of PBKDF2?
It can be done faster with GPUs by parallelization.
What are memory hard functions?
Hash functions that take up a lot of memory (ie. scrypt, bcrypt)