[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: more questions regarding password hashes



Brandon McCombs wrote:
I actually read the manpage this time on password-crypt-salt-format but still have some questions. It seems that only one salt format can be

One last question, if a salt is used with MD5 for example, is the password's hash prefixed with {SMD5} or is {MD5} still used?

All these hashes are confusing so I'm trying to get things clear in my head.

No. No salt is used with MD5 or SHA. The salt that is used with SMD5 or SSHA is generated randomly. The password-crypt-salt-format only applies to crypt, just as it's documented.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc
Chief Architect, OpenLDAP http://www.openldap.org/project/