hashcompat replaced by hashlib