mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:37:02 +02:00
@ -575,3 +575,8 @@ function htmlentities_on_array($arr = []) {
|
||||
|
||||
return $arr;
|
||||
}
|
||||
|
||||
|
||||
function encrypt_password($password = '') {
|
||||
return crypt($password, '$6$rounds=5000$' . generate_random_string() . '$');
|
||||
}
|
||||
|
Reference in New Issue
Block a user