From 1f77608a2604efc841499a48659f1a7957598531 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Fri, 23 Aug 2024 09:43:25 +0500 Subject: [PATCH] Clean up typos --- docs/doc/advanced.md | 4 ++-- docs/doc/stream.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/doc/advanced.md b/docs/doc/advanced.md index fcef625..a2b439b 100644 --- a/docs/doc/advanced.md +++ b/docs/doc/advanced.md @@ -33,9 +33,9 @@ ulimit -n 51200 ### Step 2, Tune the kernel parameters -The priciples of tuning parameters for shadowsocks are +The principles of tuning parameters for shadowsocks are -1. Reuse ports and conections as soon as possible. +1. Reuse ports and connections as soon as possible. 2. Enlarge the queues and buffers as large as possible. 3. Choose the TCP congestion algorithm for large latency and high throughput. diff --git a/docs/doc/stream.md b/docs/doc/stream.md index 290a547..9b4bed4 100644 --- a/docs/doc/stream.md +++ b/docs/doc/stream.md @@ -12,7 +12,7 @@ Stream_encrypt is a function that takes a secret key, an initialization vector, Stream_encrypt(key, IV, message) => ciphertext ``` -Stream_decrypt is a function that takes a secret key, an initializaiton vector, a ciphertext, and produces the original message. +Stream_decrypt is a function that takes a secret key, an initialization vector, a ciphertext, and produces the original message. ``` 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 ## TCP -A stream cipher encrypted TCP stream starts with a randomly generated initializaiton vector, followed by encrypted payload data. +A stream cipher encrypted TCP stream starts with a randomly generated initialization vector, followed by encrypted payload data. ``` [IV][encrypted payload]