>>1528544>md5sum <input file> | base64this doesn't work because the output of m5sum is an hexadecimal string
>>1528534for example
https://desuarchive.org/g/thread/105461153https://desu-usergeneratedcontent.xyz/g/image/1748/92/1748926526778.jpghttps://desuarchive.org/g/search/image/7-tUiyVcKCk_FQGr5DMGEw/$ perl -E 'use Digest::MD5 "md5_base64"; open $fh, "<", $ARGV[0]; local $/; $bytes = readline($fh); say( md5_base64($bytes) =~ tr|/+|_-|r )' 1748926526778.jpg
7-tUiyVcKCk_FQGr5DMGEw
careful because there are several base64 variants, notice "/" and "+" vs "_" and "-"
https://en.wikipedia.org/wiki/Base64#Variants_summary_tablein that case it wouldn't have been helpful because desuarchive modified the original file but maybe there is a way to make the same conversion it does on JPEGs and then compute the md5
$ stat --printf "%s\n" 2GB_VRAM_4chan.jpg
291460
$ stat --printf "%s\n" 2GB_VRAM_desu.jpg
309016
$ file 2GB_VRAM.jpg
2GB_VRAM.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), density 72x72, segment length 16, progressive, precision 8, 1024x1024, components 3
$ file 2GB_VRAM_desu.jpg
2GB_VRAM_desu.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), density 72x72, segment length 16, baseline, precision 8, 1024x1024, components 3