I think your general idea is good. Though there has already been some discussion of it and a potential implementation in MDL-35332, so I have closed it as a duplicate of that.
It'd be great to get your input onto that issue.
Security and privacy
Improve password hashing in Moodle
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.