import hashlib


def get_digest(in_str: str) -> str:
    """Computes digest of the input string.

    Args:
        :param str in_str: typically list of seeds concatenated with _. like s_0_1_5

    Returns:
    :return: blake2 hash of the in_str. We use short version,
     but you can use full version - slightly slower, but less chances of name collision.
    :rtype: str
    """
    # return hashlib.md5(in_str.encode()).hexdigest()
    # if you have python older than 3.6 - use md5 or update python
    return hashlib.blake2s(in_str.encode()).hexdigest()