nostr.build on Nostr: Fun fact: nostr.build uses sha256 to hash your image, and renames it that hash to ...
Fun fact:
nostr.build uses sha256 to hash your image, and renames it that hash to prevent duplicate image uploads.
So although long, your image name is used the same hashing algorithm Bitcoin uses.
(a few of us are trying to come up with a better naming scheme, but this is it for now)
Ex.
nostr.build_bbb6694317ccaf24b3a7760097c8194f74fbcd2c932174d26373aae8c4c2a08f.jpeg
Published at
2023-01-26 07:36:57Event JSON
{
"id": "fd5ac66f8379039427ebeddb60d2ef91397914d683bd46a044e0fd0c5be7c2a7",
"pubkey": "9989500413fb756d8437912cc32be0730dbe1bfc6b5d2eef759e1456c239f905",
"created_at": 1674718617,
"kind": 1,
"tags": [],
"content": "Fun fact:\nnostr.build uses sha256 to hash your image, and renames it that hash to prevent duplicate image uploads.\nSo although long, your image name is used the same hashing algorithm Bitcoin uses.\n(a few of us are trying to come up with a better naming scheme, but this is it for now)\n\nEx.\nnostr.build_bbb6694317ccaf24b3a7760097c8194f74fbcd2c932174d26373aae8c4c2a08f.jpeg",
"sig": "287affd26a23437be04361872a78323ac1209a9ebc97eec76ae7b57986945506f28d4d0be4d7667ebd9fdea5f63abb249f290cfe246f36dd1abe4df84de2df0b"
}