MD5Generator/SHA256Processor

I want to do a simple regression testing for audio plugins - test that the plugin’s output doesn’t change when I do refactors which I don’t expect to change the plugin’s behaviour.

I was thinking of doing some processBlocks in some loop and hashing its content, but JUCE’s hash functions don’t support a streaming interface :frowning:

JUCE implements MD5Generator/SHA256Processor internally but those aren’t exposed, would it be reasonable to request exposing a streaming hashing API? To reimplement or use another library for a hash implementation while it is already implemented in JUCE seems like a waste.

I guess this can work as a quasi bump for this :wink: :

2 Likes