![]() |
MD5 and Salt
Is there any way to change the current salt to something different? And if so, how would I go about doing this?
Would I need to change the following in functions_user.php: Code:
// ###################### Start makesalt ####################### |
The salt is randomly generated for each user and stored in teh user table. Why you would want to change that?
|
Well, if you wanted you could change it, if you wanted to change the length, change:
Code:
$length = 3 If you wanted to change the characters contained within the salt, then change this line: Code:
$salt .= chr(rand(32, 126)); - Zero Tolerance |
I'm not sure if your users wouldn't have to reset their password if you change the salt though...
|
Quote:
|
Quote:
If so, and you change the salt of a user, it wouldn't be able to match up the passwords, I'd think. |
Quote:
- Zero Tolerance |
Quote:
|
so everytime a password is reset or changed the salt is changed?
|
Quote:
|
Quote:
|
k, kool;)
|
All times are GMT. The time now is 01:14 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|