From 0e9b2d8b4acdd141aa0f982a65362baec29a100c Mon Sep 17 00:00:00 2001 From: Logan oos Even <46396513+Logan007@users.noreply.github.com> Date: Tue, 28 Jul 2020 23:06:20 +0545 Subject: [PATCH] updated CRYPTO.md typos, clarifications, corrections --- doc/CRYPTO.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/CRYPTO.md b/doc/CRYPTO.md index e2a6ef4..9e9dd67 100644 --- a/doc/CRYPTO.md +++ b/doc/CRYPTO.md @@ -162,7 +162,7 @@ The scheme applied tries to maintain compatibility with current packet format an +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ``` -- As we use a stream cipher, the IV should be a nonce. The IV plays an additional role sketched later, see the following sections on checksum and replay protection. +- As we use a stream cipher, the IV should be a nonce. The IV plays an additional role sketched later, see the following sections on checksum and replay protection. For use in header encryption and decryption, four bytes reading ASCII "n2n!" are appended to the 96-bit IV to internally make it a full 128-bit IV for use with 128-bit block size SPECK in CTR mode. - To make a less predictable use of the key space – just think of usually reset MSB of ASCII characters of community names – we actually use a hash of the community name as key.