Bug 40620 - Move from md5 to modern crypto

Summary: Move from md5 to modern crypto