public function generatePassword()
    {
        $salts = Site::salts(12);
        $special_char1 = '~<>?|:.(),';
        $special_char2 = '!@#$%^&*_+-*+';
        $pass = $special_char2.$salts.$special_char1;

        return str_shuffle($pass);
    }
public function generatePassword()
    {
        $salts = Site::salts(12);
        $special_char1 = '~<>?|:.(),';
        $special_char2 = '!@#$%^&*_+-*+';
        $pass = $special_char2.$salts.$special_char1;

        return str_shuffle($pass);
    }
public function generatePassword ( ) { $ salts = Site :: salts ( 12 ) ; $ special_char1 = '~<>?|:.(),' ; $ special_char2 = '!@#$%^&*_+-*+' ; $ pass = $ special_char2 . $ salts . $ special_char1 ; return str_shuffle ( $ pass ) ; }
Generate the password.

@since 2.9.7

@return mix-data
Generate the password .