我可以在不使用API​​的情况下在Wordpress中创建salt密钥吗?

I'm writing a script in python that helps me create a standard wp-config.php file with custom data, when it comes to salt keys I can of course generate a 64 characters random string but I'm wondering if the salts must be related each other, hence generated only using the Wordpress API (https://api.wordpress.org/secret-key/1.1/salt/) or if I can just bloat any random string.

In this case, can I use any symbol to generate it or some symbols are excluded? What if I simply remove the salt keys, will Wordpress re-generate those the first time?

You can use whatever you want for the salt keys : they are just random strings and they are not related to each others so any random string generator will be fine.

As far as I know, there are no restrictions on the characters used in the salt