Function createDeterministicUuidV4

  • Deterministically generates a UUIDv4 from a given input string. This is necessary when we need to generate downstream idempotency keys for operations that have multiple calls.

    Parameters

    • input: string

      The input string to derive from

    • salt: string = "salt"

      Optional salt to append to the input (defaults to "salt")

    Returns string

    A UUIDv4 formatted string