Global Feed Post Login
Replying to Avatar nostr.build

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

Avatar
Sirius 2y ago

Should we bech32 encode the hashes like we do npubs and note ids? "file1234abcd..."

Reply to this note

Please Login to reply.

Discussion

No replies yet.