Hello,
Currently, https://www.collectd.org/wiki/index.php/Binary_protocol#Encrypted_part says
The encrypted part consists of fields:
- Type 0x0210
- Length (16 bit field)
- Username length (16 bit field, length of Username field)
- Username (without null byte)
- Init vector (16 bytes fixed length)
- Hash (20 bytes fixed length)
- Encrypted data
In the real-world implementation the hash is part of encrypted data, so the proper description show be like this:
The encrypted part consists of fields:
- Type 0x0210
- Length (16 bit field)
- Username length (16 bit field, length of Username field)
- Username (without null byte)
- Init vector (16 bytes fixed length)
- Encrypted data:
- SHA1 Hash (20 bytes fixed length)
- Sequence of data parts
Hello,
Currently, https://www.collectd.org/wiki/index.php/Binary_protocol#Encrypted_part says
In the real-world implementation the hash is part of encrypted data, so the proper description show be like this: