No, lì ti dice che non va bene nessuno dei 2.
Usa la funzione crypt(), la API "Password Hashing" potresti non averla disponibile.