I created a custom form for the registration, but I am not getting how to store the password in hash format in the database.
I am using the following code, but I am not getting the value Drupal saves in the database for the password.
require_once DRUPAL_ROOT . '/' . variable_get('password_inc', 'includes/password.inc'); echo user_hash_password('taliadmin');
Why am I getting a different value?