The title says everything. I don\'t understand: why you shouldn\'t keep your salt a secret like the password. Or did I misunderstand something?
The reason as I found in this article is, that you actually need the salt to check an incoming password with the salted and hashed one in your database.