zlacker

[parent] [thread] 1 comments
1. galley+(OP)[view] [source] 2023-01-14 17:40:01
Couldn't I just add a few non-sense bytes into my images to change the hash/fingerprint?
replies(1): >>8n4vid+QH2
2. 8n4vid+QH2[view] [source] 2023-01-15 19:41:13
>>galley+(OP)
Hash yes, fingerprint maybe no. Maybe I'm using the term incorrectly here, but I think of fingerprint like a lossy hash. Like one way of doing this would be to resize the image to, say, 8 by 8, and quantize it to say, 16 colors. So the fingerprint size is 884 bits=32 bytes. Tiny changes aren't likely to change the fingerprint. You'd probably have to do something a little more clever so as not to get too many false positives though. Or once you get a hit, do a deeper comparison.
[go to top]