def METHOD_NAME(_input):
    """
    FIPS 202 generalized instance of the SHA-3 hash function.
    Args:
        size:   instance of desired SHA3 algorithm.
        _input: list of bytes to compute a hash from.
    Returns:
        Instance of the Keccak permutation that calculates the hash.
    """
    size = 256
    # https://www.cybertest.com/blog/keccak-vs-sha3
    padding = 0x01  # change this to 0x06 for NIST sha3
    return Keccak(1600 - size * 2, size * 2, _input, padding, size // 8)