Oh, you just want to hide the links? That's much easier.
Say you want to link to hxxp://sneakyaffiliatelink.com from your site, hxxp://myblackhatsite.com. First, create a folder on your site called something (like, say, /links). In there, create a PHP file with an ambiguous or innocuous name that contains this:
<?php
header('location: hxxp://sneakyaffiliatelink.com');
?>
Say we call this /links/1.php. Now add a robots.txt in the root of your site that contains the following:
user-agent: *
disallow: /links/
And finally, on your page, instead of making links to hxxp://sneakyaffiliatelink.com (the link you wanted to hide), you instead make links to hxxp://myblackhatsite.com/links/1.php. Presto, your links are hidden -- they look like links to your own site. As an added bonus, they are invisible to Google and other spiders (if this is undesirable -- you want Google to see them -- skip the robots.txt step. That step's only there to hide your links from spiders.)
Of course, someone determined can still see the links by just clicking them and spying on the HTTP session with an HTTP debugger, so once again, this keeps non-technical people out but someone skilled will see through it in seconds. However, this is true of all obfuscation methods -- after all, for the link to work, the user's browser has to see it, and a skilled user can make his browser do anything he wants.