I need to write a add on for john the ripper, and i looked a little at the DES_fmt.c and DES_std.c/h but it looks rather complex, and there are no comments.

anyone know of a well commented or just instructions for how to do this?

thanks!