Wrong. In exchange for being granted a patent, the "invention" needs to be described in great detail, with all the necessary information, so that others can replicate it (once the patent protection expires).
At least, that's how it is supposed to work.