Skip to content

Commit 6aa1e91

Browse files
abobovmadeye
authored andcommitted
Clean up typos
1 parent 8688534 commit 6aa1e91

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/doc/advanced.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ ulimit -n 51200
3333

3434
### Step 2, Tune the kernel parameters
3535

36-
The priciples of tuning parameters for shadowsocks are
36+
The principles of tuning parameters for shadowsocks are
3737

38-
1. Reuse ports and conections as soon as possible.
38+
1. Reuse ports and connections as soon as possible.
3939
2. Enlarge the queues and buffers as large as possible.
4040
3. Choose the TCP congestion algorithm for large latency and high throughput.
4141

docs/doc/stream.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Stream_encrypt is a function that takes a secret key, an initialization vector,
1212
Stream_encrypt(key, IV, message) => ciphertext
1313
```
1414

15-
Stream_decrypt is a function that takes a secret key, an initializaiton vector, a ciphertext, and produces the original message.
15+
Stream_decrypt is a function that takes a secret key, an initialization vector, a ciphertext, and produces the original message.
1616

1717
```
1818
Stream_decrypt(key, IV, ciphertext) => message
@@ -22,7 +22,7 @@ The key can be input directly from user or generated from a password. The key de
2222

2323
## TCP
2424

25-
A stream cipher encrypted TCP stream starts with a randomly generated initializaiton vector, followed by encrypted payload data.
25+
A stream cipher encrypted TCP stream starts with a randomly generated initialization vector, followed by encrypted payload data.
2626

2727
```
2828
[IV][encrypted payload]

0 commit comments

Comments
 (0)