previously, i posted a keygen tutorial and challenge, and synack has put his solution forward along with an interesting tutorial on creating a self-keygen, or a keygen that makes use of the original code to do the heavy lifting. it's very clearly written and organized, with plenty of good insight into the thought process as opposed to low-level "click here change this with no idea why" style tutorials.
download the solution and tutorial here: http://www.mediafire.com/?wzc45p269bcpbr5
download the solution and tutorial here: http://www.mediafire.com/?wzc45p269bcpbr5