Forgive me for my ignorance, but isn't this exactly what a patent is intended for? An inventor discloses how the invention works, and is given a monopoly in exchange. If the patent doesn't give the details of how something works, then why should society pay the inventor for it by granting a monopoly over it?