Move to OpenSSL MD5

use openssl's md5 instead of own