Update documentation

This commit is contained in:
H1JK 2023-03-04 13:52:10 +08:00
parent 33a57c85b3
commit 61e34f1cb2
4 changed files with 14 additions and 14 deletions

View File

@ -77,11 +77,11 @@ Both if empty.
==Required== ==Required==
| Method | Password Format | | Method | Password Format |
|---------------|-------------------------------------| |---------------|-----------------------------------------|
| none | / | | none | / |
| 2022 methods | `openssl rand -base64 <Key Length>` | | 2022 methods | `sing-box generate psk -s <Key Length>` |
| other methods | any string | | other methods | any string |
### Listen Fields ### Listen Fields

View File

@ -77,8 +77,8 @@ See [Listen Fields](/configuration/shared/listen) for details.
==必填== ==必填==
| 方法 | 密码格式 | | 方法 | 密码格式 |
|---------------|-------------------------------| |---------------|-----------------------------------|
| none | / | | none | / |
| 2022 methods | `openssl rand -base64 <密钥长度>` | | 2022 methods | `sing-box generate psk -s <密钥长度>` |
| other methods | 任意字符串 | | other methods | 任意字符串 |

View File

@ -319,7 +319,7 @@ Handshake server address and [Dial options](/configuration/shared/dial).
==Required== ==Required==
Private key, generated by `./xray x25519`. Private key, generated by `sing-box generate x25519`.
#### public_key #### public_key
@ -327,7 +327,7 @@ Private key, generated by `./xray x25519`.
==Required== ==Required==
Public key, generated by `./xray x25519`. Public key, generated by `sing-box generate x25519`.
#### short_id #### short_id

View File

@ -315,7 +315,7 @@ MAC 密钥。
==必填== ==必填==
私钥,由 `./xray x25519` 生成。 私钥,由 `sing-box generate x25519` 生成。
#### public_key #### public_key
@ -323,7 +323,7 @@ MAC 密钥。
==必填== ==必填==
公钥,由 `./xray x25519` 生成。 公钥,由 `sing-box generate x25519` 生成。
#### short_id #### short_id