Kannst dir ja mal angucken, wie die das gemacht haben: http://www.md5hashing.com/c++/

#include "md5wrapper.h"

gruß