MD5: first setup code (untested) plus reference impl from wikipedia.