The problem is a hash algorithm is exactly the sort of thing that copyright would be horrible at protecting. The source code is hardly relevant at all, it’s the operations that matter.
A big part of patents is to allow private sector research to occur. RCA failed and maybe patents should just fail too.
You should try Brighter Shores.
The original RuneScape developers and owners (i.e. Andrew Gower and his brothers) are back with a new game, at a new company, with an industry shattering $5.99/mo subscription price for all content.
No micro transactions, no pay to win, no outrageous DLC pricing, no bull shit … just a fun game with many similarities to OSRS but also modernizations, formula improvements, and lessons learned.