Commit 88832550 authored by Éloïs's avatar Éloïs
Browse files

[RFC17] add section "hide real length of the message"

parent 8bd1be5b
......@@ -72,5 +72,12 @@ Encrypted message in encoded in base 64 in transaction comment directly (DUBP pr
5. compute `m = encryptedMessage ^ k`
6. Interpret `m` as an UTF8 string
## Hide the real length of the message
It is possible to encode a message that is intentionally longer than the real message in order to not reveal the size of the message.
In this case, it is usual to put a [Null character] at the end of the message to know where the real end of the message is.
The characters after the [Null character] should not be displayed, but they should remain valid UTF8 characters.
[crypto_box_beforenm]: https://nacl.cr.yp.to/box.html
[Null character]: https://en.wikipedia.org/wiki/Null_character
[XOR cipher]: https://en.wikipedia.org/wiki/XOR_cipher
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment