Which sha to use?

Michael Ströder michael at stroeder.com
Mon May 24 11:41:56 CEST 2004


S. Alan Ezust wrote:
> 
> Which SHA to use? slappasswd claims to use SHA digests, but it's not the same 
> as what the python sha built-in uses.

It is the same SHA-1 hash algorithm.

> $ slappasswd
> New password: foobar
> {SSHA}ssib43Zm62dDYjKVLYg/IMXJMBJPMYDG

This is a salted SHA-1 hash.

http://www.openldap.org/faq/data/cache/347.html

Ciao, Michael.



More information about the python-ldap mailing list