If the creator of bitcoin dabbles in magic, then your friend could be right. Otherwise, the creator needs to hide his "secret weapon" as text (code) inside bitcoin's code because the whole thing is open source.
It's been 15 years and still no one was able to locate this "hidden" code.