mirror of
https://bitbucket.org/jsuto/piler.git
synced 2026-03-19 17:31:43 +01: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