use hashlib.algorithms_guaranteed to replace missing hashlib.algorithms in python3