<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def generate(data, algorithms=(DEFAULT_ALOGRITHM,)):
 """Yields subresource integrity Hash objects for the given data & algorithms sha384 H8BRh8j48O9oYatfu5AZzq6A9RINhZO5H16dQZngK7T62em8MUt1FLm52t+eX6xO """

    return (Hash.fromresource(data, algorithm) for algorithm in algorithms)