Why Nostr? What is Njump?
2025-06-01 12:40:47
in reply to

mleku on Nostr: just put a length prefix field at the front of the payload that is encrypted and then ...

just put a length prefix field at the front of the payload that is encrypted and then tack on a random, but reasonable amount of padding to obscure its real size. and of course make that padding filled with also random bytes, to mitigate any preimage risk of having part of the message literally being the XOR of the byte stream

i doubt there is much compressibility in it but maybe ZSTD compression could find a little redundancy in there as well
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku