FlyerTalk Forums - View Single Post - Password "security" ?
View Single Post
Old Jan 24, 2016 | 8:08 pm
  #47  
nkedel
FlyerTalk Evangelist
30 Countries Visited
2M
All eyes on you!
25 Years on Site
 
Join Date: Jul 2000
Location: in the vicinity of SFO
Programs: AA 2MM (LT-PLT, PPro for this year)
Posts: 19,784
Originally Posted by antichef
That is helpful to me too, but stretching my subject knowledge now!

Does that mean that even if I choose a 20 digit multi character password all this can be affected and degraded by the way that the website operator chooses to encrypt the password before they store it? Some methods being harder than others to crack?
It's not so much degraded (although some sites do -- nothing like using a mix of capital and lower case letters only to have the site coerce it to all caps or all lower) as that the particular hashing or encryption algorithms are of varying strength.

All hashing algorithms have the disadvantage that they convert something longer or shorter into a fixed length; in the case of the two oldest/most common (MD5 and SHA1), they are simple enough and produce a short enough output that between size and bugs, there are now attacks where the attacker may be able to find a different string that produces the hash even if it's not your password.

The other alternative is actively encrypting the passwords, but the disadvantage there is that there is a master password somewhere which will unlock all of them.

The only real solution is not to use passwords at all, but there isn't a practical alternative for most things, and while in theory more secure, the other common alternative (certificate-based login, where you have a private key and the serer has the corresponding public key) is open to other sorts of attacks.
nkedel is offline