I’m not saying it’ll be easy. But what’s even harder is rewriting 50 year old software, with all the bugs that others relay on now (both people and software), wanky and complex business logic, etc, etc.
I’m not saying that you should stick to mainframe. But rewriting it because you need to support strong password is not a reason to do it.