IP ownership provisions in employment contracts are nasty, but this clearly isn't one of them.
He told the company about his new technique, was hired to write software to automate the process & signed off on some licensing text.
Software's theirs
https://www.theregister.com/2021/02/17/md5_software_lawsuit/