Browse Source

updated CRYPTO.md

revision
pull/336/head
Logan oos Even 4 years ago
committed by GitHub
parent
commit
851772ea1e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      doc/CRYPTO.md

2
doc/CRYPTO.md

@ -125,7 +125,7 @@ In case of a PACKET-type, it is succeeded by the fields depicted below:
```
### Encryption
If enabled (`-H`), all fields but the payload (which is handled seperately as outlined above) get encrypted using SPECK in CTR mode. As packet headers need to be decryptable by the supernode and we do not want to add another key (to keep it a simple interface), the community name serves as key (keep it secret!) because it is already known to the supernode.
If enabled (`-H`), all fields but the payload (which is handled seperately as outlined above) get encrypted using SPECK in CTR mode. As packet headers need to be decryptable by the supernode and we do not want to add another key (to keep it a simple interface), the community name serves as key (keep it secret!) because it is already known to the supernode. The community name consists of up to 16 characters (well, 15 + `0x00`), so key size of 128 bit is a reasonable choice here.
The scheme applied tries to maintain compatibility with current packet format and works as follows:

Loading…
Cancel
Save