Question about salt in same column as hash…
-
Your plugin is the closest I have saw that fits my needs, but I don’t use roles, and my salt is not stored in a separate column. It is just how the system I am authenticating against is designed because these users also are integrated with pam-mysql and other auth services.
Anyway I can tweak this plugin to support my use case?
My password field is in the format as stated below:
$6$rounds=XXXXX$salt$thelonghash$
I use this method to validate passwords:
// return first result from db with matching username...then if ( crypt($submitted_password, $stored_crypt_hash) == $stored_crypt_hash ) {}
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Question about salt in same column as hash…’ is closed to new replies.