md5crypt
hash = md5crypt(passwd, (mode == passwd_md5 ? "1" : "apr1"), *salt_p);
hash = md5crypt(passwd, "", *salt_p);