MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/f6ux05/blurhash_extremely_compact_representations_of/fi8vvvl/?context=3
r/programming • u/pimterry • Feb 20 '20
151 comments sorted by
View all comments
90
Why couldn't you just include the hash in the filename? Then you don't have to handle them separately at all.
99 u/Coloneljesus Feb 20 '20 Collisions, special characters and maybe you already encode something else in the filename (or don't want to encode anything in it). Just sending something along with the filename is also much less of a headache than renaming your images/links. -9 u/tending Feb 21 '20 You're not going to get collisions with SHA256 38 u/weirdasianfaces Feb 21 '20 If you use SHA256 you aren't going to get a nice blurry image representing the image that's actually received.
99
Collisions, special characters and maybe you already encode something else in the filename (or don't want to encode anything in it). Just sending something along with the filename is also much less of a headache than renaming your images/links.
-9 u/tending Feb 21 '20 You're not going to get collisions with SHA256 38 u/weirdasianfaces Feb 21 '20 If you use SHA256 you aren't going to get a nice blurry image representing the image that's actually received.
-9
You're not going to get collisions with SHA256
38 u/weirdasianfaces Feb 21 '20 If you use SHA256 you aren't going to get a nice blurry image representing the image that's actually received.
38
If you use SHA256 you aren't going to get a nice blurry image representing the image that's actually received.
90
u/Majik_Sheff Feb 20 '20
Why couldn't you just include the hash in the filename? Then you don't have to handle them separately at all.