Clarify key encoding algorithm

This commit is contained in:
Richard van der Hoff 2024-05-14 09:27:19 +01:00
parent 9b07a92329
commit 24916ecf73

View file

@ -948,7 +948,8 @@ interface.
When this happens, the key SHOULD be presented as a string formatted as When this happens, the key SHOULD be presented as a string formatted as
follows: follows:
1. The raw key is prepended by the two bytes `0x8B` and `0x01`. 1. A byte array is created, consisting of two bytes `0x8B` and `0x01`,
followed by the raw key.
2. All the bytes in the array above, including the two header bytes, 2. All the bytes in the array above, including the two header bytes,
are XORed together to form a parity byte. This parity byte is are XORed together to form a parity byte. This parity byte is
appended to the byte array. appended to the byte array.