What is Nostr?
mleku
npub1fjq…leku
2024-07-26 21:20:22
in reply to nevent1q…0wc0

mleku on Nostr: the proper way to do it is to put a length prefix right at the start of the encrypted ...

the proper way to do it is to put a length prefix right at the start of the encrypted block, and if you use a counter mode, you can just decrypt that first part and find out how much you need to decrypt, and then you do it

any other garbage should just be ignored, just like with nostr envelopes, once you have decoded the expected fields who gives a fuck if it's got 5gb of rubbish after it
Author Public Key
npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku