[flac-dev] How is the MD5 hash calculated?

Erik de Castro Lopo mle+la at mega-nerd.com
Tue Jan 17 07:51:57 UTC 2017


Marcus Johnson wrote:

> is it on a per subframe basis, and if so, is each frame padded if
> it’s not a multiple of 512 bits? or do I have to decode all the data,
> and run it over the decoded file at once?

Documentation is here:

     https://xiph.org/flac/documentation_format_overview.html

MD5SUM is of the un-encoded audio data and of the whole stream.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list