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.
With Linux you just open the software manager and search for it with effectively 0 chance of your grandma downloading a virus.
The app store model is the Linux model. Linux just doesn’t have paid apps in said stores.