• Hash a string into four well-mixed 32-bit words (the cyrb128 reference algorithm). Used to turn a human-readable seed (e.g. a test name) into generator state.

    Parameters

    • str: string

      The seed string.

    Returns [number, number, number, number]

    Four unsigned 32-bit state words.