Btw. If a Flac file didn't have an MD5 hash in the StreamInfo block, how does flac justify its test being OK?
No clue what it does actually. Should look whether it says ok then, if it does, it needs fixing.
This is what happens when a FLAC is tested that has no MD5, that is all 16 bytes are 0x00:
flac 1.4.1
Copyright (C) 2000-2009 Josh Coalson, 2011-2022 Xiph.Org Foundation
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
silence_noMD5.flac: WARNING, cannot check MD5 signature since it was unset in the STREAMINFO
ok
There is no difference across flac versions.
METADATA block #0
type: 0 (STREAMINFO)
is last: false
length: 34
minimum blocksize: 3584 samples
maximum blocksize: 3584 samples
minimum framesize: 392 bytes
maximum framesize: 1255 bytes
sample_rate: 44100 Hz
channels: 2
bits-per-sample: 16
total samples: 44100
MD5 signature: 00000000000000000000000000000000
METADATA block #1
type: 3 (SEEKTABLE)
is last: false
length: 18
seek points: 1
point 0: sample_number=0, stream_offset=0, frame_samples=3584
METADATA block #2
type: 4 (VORBIS_COMMENT)
is last: false
length: 131
vendor string: reference libFLAC 1.4.1 20220922
comments: 4
comment[0]: TITLE=One Second of Silence
comment[1]: ENCODERSETTINGS=-7
comment[2]: DATE=2022
comment[3]: ORGANIZATION=sundance
METADATA block #4
type: 1 (PADDING)
is last: true
length: 1964