Sunday, January 6, 2013

PHP - Generate SSHA (sha1) Password For LDAP User

$info['userpassword'][0] = "{SHA}" . base64_encode(sha1("pass", TRUE));

No comments:

Post a Comment