summaryrefslogtreecommitdiff
path: root/docs/Crypto.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Crypto.txt')
-rw-r--r--docs/Crypto.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Crypto.txt b/docs/Crypto.txt
index 11653616..d53c16a8 100644
--- a/docs/Crypto.txt
+++ b/docs/Crypto.txt
@@ -51,8 +51,8 @@ Connecting to an already added friend:
51 Data packet: 51 Data packet:
52 [char with a value of 03][Encrypted data] 52 [char with a value of 03][Encrypted data]
53 Each data packet received it is decrypted using the secret nonce sent to the other(with +1 added for the first packet +2 for the second, etc...) 53 Each data packet received it is decrypted using the secret nonce sent to the other(with +1 added for the first packet +2 for the second, etc...)
54 along with the private session key of the reciever. 54 along with the private session key of the receiver.
55 Every data packet sent is encrypted using the secret nonce we received (with +1 added for the first packet +2 for the second, etc...), 55 Every data packet sent is encrypted using the secret nonce we received (with +1 added for the first packet +2 for the second, etc...),
56 the session public key of the reciever and the session private key of the sender. 56 the session public key of the receiver and the session private key of the sender.
57 57
58 The encrypted connection is only deemed successful when the empty data packet is received and decrypted successfully. 58 The encrypted connection is only deemed successful when the empty data packet is received and decrypted successfully.