support hashlib if on platform with deprecated md5