• Generate a random big integer in the range [min, max)

    Parameters

    • crypto: ICryptoProvider
    • max: bigint

      Maximum value (exclusive)

    • min: bigint = 1n

      Minimum value (inclusive)

    Returns bigint