md5_hex needs to move to util library