parameters: (self, hashes=None)
docstring: :param hashes: A dict of algorithm names pointing to lists of allowed
              hex digests
docstring_summary: :param hashes: A dict of algorithm names pointing to lists of allowed
              hex digests
docstring_tokens: : param hashes : A dict of algorithm names pointing to lists of allowed hex digests
function: def __init__(self, hashes=None):
          # type: (Dict[str, List[str]]) -> None
          """
          :param hashes: A dict of algorithm names pointing to lists of allowed
              hex digests
          """
          self._allowed = {} if hashes is None else hashes
function_tokens: def __init__ ( self , hashes = None ) : # type: (Dict[str, List[str]]) -> None self . _allowed = { } if hashes is None else hashes