sql to ldap MD5 conversion