var encrypt_password(
var
$random_password
)
|
|
Hash the new password with sha1()
while writing this comment i just noticed its 'hashing' not 'encrypting', so don't let the function name fool you
Parameters:
|
var |
$random_password: |
the new random password generated |
var get_password(
mixed
$username, var
$bBlog
)
|
|
Resets a users's password.
Call the random_password(x) function in order to generate a new password, and return it back to the user.
Parameters:
|
var |
$bBlog: |
User name to reset the password of |
var random_password(
integer
$len
)
|
|
Generate new password.
Generates a new random password
Parameters:
|
integer |
$len: |
Length of new password |
Information Tags:
void set_password(
var
$enc_password
)
|
|
update author's table with new password.
Parameters:
|
var |
$enc_password: |
The new encrypted password |