This shouldn't be a namedtuple, it should be a `dict` mapping hash algorithm classes to  the tuples.