Re:Everything you ever wanted to know about building a secur...
by chias on Thursday January 31, 2019 @09:18PM
(#19051040)
Correct. Many hashing functions designed for password hashing build the salt directly into the output string, in order to make it difficult to accidentally hash passwords without using a salt. On the other hand, if you're just using a bare hash function, you may find it convenient to store the salt in a separate column, if only to save yourself having to split on a separator character / character length in your application logic.
[ Parent
| on HN ]
Re:Everything you ever wanted to know about building a secur...
by amingilani on Thursday January 31, 2019 @10:10PM
(#19051263)
Yeah, that's what I was I thinking. Bcrypt does that, or at least the implementation I'm familiar with seeing in Rails. The sentence threw me off there for a second. Thanks for the clarification.