Removing openssl from md5 function