[Flac] Checking file integrity

J.B. Nicholson-Owens jbn at forestfield.org
Sat Apr 23 13:50:38 PDT 2011


Anton Shepelev wrote:
> I  have  read FLAC stores a hashsum inside its files
> to check their integrity. But how to do  it  without
> having  to  extract  the file? Is the hashsum calcu-
> lated on the extracted or compressed data?

I should have mentioned before that apparently the MD5 hash is computed 
on the uncompressed raw sample data and the easiest way to check the 
FLAC file is with

   flac --verify audio.flac

--verify won't extract the data to a file, but it does seem to run over 
the entire file (as one would expect of such a function).


More information about the Flac mailing list