I have recently started developing an open source anti virus software, although the hashes are generated with the Aho-Corasick algorithm.
I would love to know how to generate Aho-Corasick hashes from executables, as I have found barely any information on the internet regarding this
In Java:
Then you can use, following to get MD5 hash