frphank on Nostr: Much fewer than 32 bytes will do, too. If the server doesn't have the file but wants ...
Much fewer than 32 bytes will do, too. If the server doesn't have the file but wants to pretend it does, it could report random numbers. Those would be correct for a chance of 1 in 256 for 1 byte or 1 in ~4bn for 4 bytes I think that's safe enough.
Published at
2024-10-04 01:11:13Event JSON
{
"id": "a601974bd45f3dd4c286102e079eb3ed40740028d2d3d64995414336be67fa27",
"pubkey": "47be0b2a89faaa66bc57f5c679203486da45660295cb3db3c2f38f4be8d8816e",
"created_at": 1728004273,
"kind": 1,
"tags": [
[
"e",
"a11de9ebe00bf2f42973c897a955c70765a4af43109bd595fab2a48e6ac82626",
"",
"root"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"7b3f7803750746f455413a221f80965eecb69ef308f2ead1da89cc2c8912e968"
]
],
"content": "Much fewer than 32 bytes will do, too. If the server doesn't have the file but wants to pretend it does, it could report random numbers. Those would be correct for a chance of 1 in 256 for 1 byte or 1 in ~4bn for 4 bytes I think that's safe enough.",
"sig": "6cef99da31c44d738fbfb9ccd811e4ba3a90c0f9300e110cb774253afc38ac7adb2ca62c55183f3b040fe48d88e6495cca5a456f4251deede3bf682598a12442"
}