Replace MD5 implementation

Replace the MD5 code with an alternative implementation, better suited
to this codebase.
Replace the MD5 code with an alternative implementation, better suited to this codebase (paravoid).