4 ms·
Some good points, except for the point about passwords: passwords are rarely encrypted. While you could say that a salted hash might obfuscate the plaintext of
by e12e 12y ago
Some good points, except for the point about passwords: passwords are rarely encrypted. While you could say that a salted hash might obfuscate the plaintext of the password - it's not encrypted -- and it can't be de-crypted.
It is of course possible to store passwords encrypted, but that is rarely done.
- kijin 12y agoFrom the point of view of people who treat encryption as a black box and don't care about the details, the passwords are "encrypted" all right. The point of the article is to criticize these people, so the technically incorrect choice of word might be intentional. Also, it often makes sense to treat hashing as a kind of encryption. It just happens to be a kind of encryption that cannot be (easily) reversed.
- e12e 12y agoI supppose you're right, apparently encryption is a relatively new term, derived as a synonym to encode from crypt (derived from cryptic) whose meaning is defined (among other things) as: "to change (information) from one form to another especially to hide its meaning". So in the colloquial use, encryption does apparently not imply that decryption is possible. I don't buy the argument that "lots of people use the term wrong, so lets just continue to do that". (As it turns out, I might have been the person to understand the term wrongly, and the word choice might not have been "technically incorrect" after all. Always challenge your assumptions :-)
- oxplot 12y agoIt is however considered a good practice and recommended [1]. [1]: https://crackstation.net/hashing-security.htm https://crackstation.net/hashing-security.htm
- e12e 12y agoSee my other comment re: "encrypted". In general terms, hashing a combination of a salt and the plaintext password is recommended. The problem with encrypting the password, is that typically an attack that exposes the encrypted password will also expose the encryption key -- allowing the recovery of the plaintext password by simply decrypting the ciphertext password that is stored.