diff --git a/classes/_divviup_dap.DAPError.html b/classes/_divviup_dap.DAPError.html index cae6e4b12..36819e3ea 100644 --- a/classes/_divviup_dap.DAPError.html +++ b/classes/_divviup_dap.DAPError.html @@ -1,4 +1,4 @@ -DAPError | Documentation

Hierarchy (view full)

Constructors

constructor +DAPError | Documentation

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

clientContext: string
detail: string
instance: string
message: string
name: string
shortType: string
stack?: string
status: number
taskId: TaskId
title: string
type: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

+

Constructors

Properties

clientContext: string
detail: string
instance: string
message: string
name: string
shortType: string
stack?: string
status: number
taskId: TaskId
title: string
type: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      Returns any

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    -

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_dap.HpkeConfig.html b/classes/_divviup_dap.HpkeConfig.html index dc47c26a6..e5e76efb1 100644 --- a/classes/_divviup_dap.HpkeConfig.html +++ b/classes/_divviup_dap.HpkeConfig.html @@ -1,4 +1,4 @@ -HpkeConfig | Documentation

Implements

Constructors

constructor +HpkeConfig | Documentation

Implements

Constructors

Properties

aeadId id kdfId @@ -7,4 +7,4 @@

Methods

Constructors

Properties

aeadId: number
id: number
kdfId: number
kemId: number
publicKey: Buffer

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

aeadId: number
id: number
kdfId: number
kemId: number
publicKey: Buffer

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_dap.Task.html b/classes/_divviup_dap.Task.html index 9bd2c5bd0..d7d020dba 100644 --- a/classes/_divviup_dap.Task.html +++ b/classes/_divviup_dap.Task.html @@ -4,7 +4,7 @@ generate a privacy-preserving measurement report for the provided ClientVdaf, such as an implementation of Prio3, as specified by draft-irtf-cfrg-vdaf-03.

-

Type Parameters

Constructors

Type Parameters

Constructors

Properties

protocolVersion: string = DAP_VERSION

the protocol version for this task, usually in the form dap-{nn}

-

Methods

Properties

protocolVersion: string = DAP_VERSION

the protocol version for this task, usually in the form dap-{nn}

+

Methods

  • Fetches hpke configuration from the configured aggregators over the network. This will make one http/https request for each aggregator (leader and helper).

    Returns Promise<void>

    Throws

    DAPError if any response is not Ok.

    -
  • Produce a Report from the supplied Measurement

    This may make network requests to fetch key configuration from the leader and helper, if needed.

    Parameters

    • measurement: Measurement

      The type of this argument will be determined by the Vdaf that this task is constructed for.

    • Optional options: ReportOptions

    Returns Promise<Report>

    Throws

    Error if there is any issue in generating the report

    -
  • A convenience function to fetch the key configuration (if +

  • A convenience function to fetch the key configuration (if needed), generate a report from the provided measurement and send that report to the leader aggregator.

    This will call Task.generateReport and @@ -32,7 +32,7 @@ retry.

    Parameters

    Returns Promise<void>

    Throws

    DAPError if any http response is not Ok or Error if there is an issue generating the report

    -

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_dap.TaskId.html b/classes/_divviup_dap.TaskId.html index 22c419986..8409d254e 100644 --- a/classes/_divviup_dap.TaskId.html +++ b/classes/_divviup_dap.TaskId.html @@ -1,6 +1,6 @@ -TaskId | Documentation

Implements

Constructors

constructor +TaskId | Documentation

Implements

Constructors

Properties

Methods

Constructors

Properties

buffer: Buffer

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

buffer: Buffer

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.Aggregator.html b/classes/_divviup_dap._internal_.Aggregator.html index 4e4994891..620ad3905 100644 --- a/classes/_divviup_dap._internal_.Aggregator.html +++ b/classes/_divviup_dap._internal_.Aggregator.html @@ -1,8 +1,8 @@ -Aggregator | Documentation

Constructors

constructor +Aggregator | Documentation

Constructors

Properties

Methods

Constructors

Properties

hpkeConfigList?: HpkeConfigList
role: Role
url: URL

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

hpkeConfigList?: HpkeConfigList
role: Role
url: URL

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.Extension.html b/classes/_divviup_dap._internal_.Extension.html index 344c80613..c127fbffe 100644 --- a/classes/_divviup_dap._internal_.Extension.html +++ b/classes/_divviup_dap._internal_.Extension.html @@ -1,5 +1,5 @@ -Extension | Documentation

Implements

Constructors

constructor +Extension | Documentation

Implements

Constructors

Properties

Methods

Constructors

Properties

data: Buffer
extensionType: TBD

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

data: Buffer
extensionType: TBD

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.HpkeCiphertext.html b/classes/_divviup_dap._internal_.HpkeCiphertext.html index dd192f33e..274165ea0 100644 --- a/classes/_divviup_dap._internal_.HpkeCiphertext.html +++ b/classes/_divviup_dap._internal_.HpkeCiphertext.html @@ -1,6 +1,6 @@ -HpkeCiphertext | Documentation

Implements

Constructors

constructor +HpkeCiphertext | Documentation

Implements

Constructors

Properties

Methods

Constructors

Properties

configId: number
encapsulatedContext: Buffer
payload: Buffer

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

configId: number
encapsulatedContext: Buffer
payload: Buffer

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.HpkeConfigList.html b/classes/_divviup_dap._internal_.HpkeConfigList.html index d80d52ee8..75cfb522f 100644 --- a/classes/_divviup_dap._internal_.HpkeConfigList.html +++ b/classes/_divviup_dap._internal_.HpkeConfigList.html @@ -1,6 +1,6 @@ -HpkeConfigList | Documentation

Implements

Constructors

constructor +HpkeConfigList | Documentation

Implements

Constructors

Properties

Methods

Constructors

Properties

configs: HpkeConfig[]

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

configs: HpkeConfig[]

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.InputShareAad.html b/classes/_divviup_dap._internal_.InputShareAad.html index 8e8db4119..a5fd33ced 100644 --- a/classes/_divviup_dap._internal_.InputShareAad.html +++ b/classes/_divviup_dap._internal_.InputShareAad.html @@ -1,6 +1,6 @@ -InputShareAad | Documentation

Implements

Constructors

constructor +InputShareAad | Documentation

Implements

Constructors

Properties

Methods

Constructors

Properties

metadata: ReportMetadata
publicShare: Buffer
taskId: TaskId

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

metadata: ReportMetadata
publicShare: Buffer
taskId: TaskId

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.Parser.html b/classes/_divviup_dap._internal_.Parser.html index 8c15ef6a8..833c4bdbc 100644 --- a/classes/_divviup_dap._internal_.Parser.html +++ b/classes/_divviup_dap._internal_.Parser.html @@ -1,4 +1,4 @@ -Parser | Documentation

Constructors

constructor +Parser | Documentation

Constructors

Properties

Methods

array16 @@ -7,4 +7,4 @@ uint16 uint8 from -

Constructors

Properties

buffer: Buffer
index: number = 0

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

buffer: Buffer
index: number = 0

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.PlaintextInputShare.html b/classes/_divviup_dap._internal_.PlaintextInputShare.html index ba11ecee4..b41102013 100644 --- a/classes/_divviup_dap._internal_.PlaintextInputShare.html +++ b/classes/_divviup_dap._internal_.PlaintextInputShare.html @@ -1,5 +1,5 @@ -PlaintextInputShare | Documentation

Implements

Constructors

constructor +PlaintextInputShare | Documentation

Implements

Constructors

Properties

Methods

Constructors

Properties

extensions: Extension[]
payload: Buffer

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

extensions: Extension[]
payload: Buffer

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.Report.html b/classes/_divviup_dap._internal_.Report.html index f8d1d518a..ca628244d 100644 --- a/classes/_divviup_dap._internal_.Report.html +++ b/classes/_divviup_dap._internal_.Report.html @@ -1,7 +1,7 @@ -Report | Documentation

Implements

Constructors

constructor +Report | Documentation

Implements

Constructors

Properties

helperCiphertext: HpkeCiphertext
leaderCiphertext: HpkeCiphertext
metadata: ReportMetadata
publicShare: Buffer

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

helperCiphertext: HpkeCiphertext
leaderCiphertext: HpkeCiphertext
metadata: ReportMetadata
publicShare: Buffer

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.ReportId.html b/classes/_divviup_dap._internal_.ReportId.html index 9b0638706..71b414bc1 100644 --- a/classes/_divviup_dap._internal_.ReportId.html +++ b/classes/_divviup_dap._internal_.ReportId.html @@ -1,5 +1,5 @@ -ReportId | Documentation

Implements

Constructors

constructor +ReportId | Documentation

Implements

Constructors

Properties

Methods

Constructors

Properties

bytes: Buffer

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

bytes: Buffer

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.ReportMetadata.html b/classes/_divviup_dap._internal_.ReportMetadata.html index 5eeebade2..5c5457a5d 100644 --- a/classes/_divviup_dap._internal_.ReportMetadata.html +++ b/classes/_divviup_dap._internal_.ReportMetadata.html @@ -1,5 +1,5 @@ -ReportMetadata | Documentation

Implements

Constructors

constructor +ReportMetadata | Documentation

Implements

Constructors

Properties

Methods

Constructors

Properties

reportId: ReportId
time: number

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

reportId: ReportId
time: number

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_field.Field.html b/classes/_divviup_field.Field.html index 8fe1df46d..16ebb7abe 100644 --- a/classes/_divviup_field.Field.html +++ b/classes/_divviup_field.Field.html @@ -1,4 +1,4 @@ -Field | Documentation

Hierarchy (view full)

Constructors

constructor +Field | Documentation

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

encodedSize: number
genOrder: bigint
generator: bigint
modulus: bigint

Methods

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • input: bigint[]
    • numShares: number

    Returns bigint[][]

  • Parameters

    • encoded: Uint8Array

    Returns bigint[]

  • Parameters

    • data: bigint[]

    Returns Uint8Array

  • Parameters

    • p: bigint[]
    • x: bigint

    Returns bigint

  • Parameters

    • b: bigint
    • exp: bigint

    Returns bigint

  • Parameters

    • length: number

    Returns bigint[]

  • Parameters

    • rootsOfUnity: bigint[]
    • ys: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Returns bigint

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

  • Type Parameters

    • T

    Parameters

    • arr: T[]
    • mapper: ((value, index) => bigint)
        • (value, index): bigint
        • Parameters

          • value: T
          • index: number

          Returns bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

encodedSize: number
genOrder: bigint
generator: bigint
modulus: bigint

Methods

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • input: bigint[]
    • numShares: number

    Returns bigint[][]

  • Parameters

    • encoded: Uint8Array

    Returns bigint[]

  • Parameters

    • data: bigint[]

    Returns Uint8Array

  • Parameters

    • p: bigint[]
    • x: bigint

    Returns bigint

  • Parameters

    • b: bigint
    • exp: bigint

    Returns bigint

  • Parameters

    • length: number

    Returns bigint[]

  • Parameters

    • rootsOfUnity: bigint[]
    • ys: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Returns bigint

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

  • Type Parameters

    • T

    Parameters

    • arr: T[]
    • mapper: ((value, index) => bigint)
        • (value, index): bigint
        • Parameters

          • value: T
          • index: number

          Returns bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_field.Field128.html b/classes/_divviup_field.Field128.html index a9e42ed22..f0a65ffc9 100644 --- a/classes/_divviup_field.Field128.html +++ b/classes/_divviup_field.Field128.html @@ -1,4 +1,4 @@ -Field128 | Documentation

Hierarchy (view full)

Constructors

constructor +Field128 | Documentation

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

encodedSize: number
genOrder: bigint
generator: bigint
modulus: bigint

Methods

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • encoded: Uint8Array

    Returns bigint[]

  • Parameters

    • data: bigint[]

    Returns Uint8Array

  • Parameters

    • b: bigint
    • exp: bigint

    Returns bigint

  • Parameters

    • rootsOfUnity: bigint[]
    • ys: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

  • Type Parameters

    • T

    Parameters

    • arr: T[]
    • mapper: ((value, index) => bigint)
        • (value, index): bigint
        • Parameters

          • value: T
          • index: number

          Returns bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

encodedSize: number
genOrder: bigint
generator: bigint
modulus: bigint

Methods

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • encoded: Uint8Array

    Returns bigint[]

  • Parameters

    • data: bigint[]

    Returns Uint8Array

  • Parameters

    • b: bigint
    • exp: bigint

    Returns bigint

  • Parameters

    • rootsOfUnity: bigint[]
    • ys: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

  • Type Parameters

    • T

    Parameters

    • arr: T[]
    • mapper: ((value, index) => bigint)
        • (value, index): bigint
        • Parameters

          • value: T
          • index: number

          Returns bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_field.Field64.html b/classes/_divviup_field.Field64.html index b1e769854..d7869ad47 100644 --- a/classes/_divviup_field.Field64.html +++ b/classes/_divviup_field.Field64.html @@ -1,4 +1,4 @@ -Field64 | Documentation

Hierarchy (view full)

Constructors

constructor +Field64 | Documentation

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

encodedSize: number
genOrder: bigint
generator: bigint
modulus: bigint

Methods

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • encoded: Uint8Array

    Returns bigint[]

  • Parameters

    • data: bigint[]

    Returns Uint8Array

  • Parameters

    • b: bigint
    • exp: bigint

    Returns bigint

  • Parameters

    • rootsOfUnity: bigint[]
    • ys: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

  • Type Parameters

    • T

    Parameters

    • arr: T[]
    • mapper: ((value, index) => bigint)
        • (value, index): bigint
        • Parameters

          • value: T
          • index: number

          Returns bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

encodedSize: number
genOrder: bigint
generator: bigint
modulus: bigint

Methods

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • encoded: Uint8Array

    Returns bigint[]

  • Parameters

    • data: bigint[]

    Returns Uint8Array

  • Parameters

    • b: bigint
    • exp: bigint

    Returns bigint

  • Parameters

    • rootsOfUnity: bigint[]
    • ys: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

  • Type Parameters

    • T

    Parameters

    • arr: T[]
    • mapper: ((value, index) => bigint)
        • (value, index): bigint
        • Parameters

          • value: T
          • index: number

          Returns bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_field.Field96.html b/classes/_divviup_field.Field96.html index 6e870f9b4..918735467 100644 --- a/classes/_divviup_field.Field96.html +++ b/classes/_divviup_field.Field96.html @@ -1,4 +1,4 @@ -Field96 | Documentation

Hierarchy (view full)

Constructors

constructor +Field96 | Documentation

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

encodedSize: number
genOrder: bigint
generator: bigint
modulus: bigint

Methods

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • encoded: Uint8Array

    Returns bigint[]

  • Parameters

    • data: bigint[]

    Returns Uint8Array

  • Parameters

    • b: bigint
    • exp: bigint

    Returns bigint

  • Parameters

    • rootsOfUnity: bigint[]
    • ys: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

  • Type Parameters

    • T

    Parameters

    • arr: T[]
    • mapper: ((value, index) => bigint)
        • (value, index): bigint
        • Parameters

          • value: T
          • index: number

          Returns bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

encodedSize: number
genOrder: bigint
generator: bigint
modulus: bigint

Methods

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • encoded: Uint8Array

    Returns bigint[]

  • Parameters

    • data: bigint[]

    Returns Uint8Array

  • Parameters

    • b: bigint
    • exp: bigint

    Returns bigint

  • Parameters

    • rootsOfUnity: bigint[]
    • ys: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint
    • b: bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

  • Type Parameters

    • T

    Parameters

    • arr: T[]
    • mapper: ((value, index) => bigint)
        • (value, index): bigint
        • Parameters

          • value: T
          • index: number

          Returns bigint

    Returns bigint

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

  • Parameters

    • a: bigint[]
    • b: bigint[]

    Returns bigint[]

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_field.Vector.html b/classes/_divviup_field.Vector.html index b0a92def4..bd560c201 100644 --- a/classes/_divviup_field.Vector.html +++ b/classes/_divviup_field.Vector.html @@ -1,6 +1,6 @@ -Vector | Documentation

Constructors

constructor +Vector | Documentation

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • values: bigint[]
    • elementSize: number

    Returns Vector

Properties

elementSize: number
values: bigint[]

Accessors

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

  • Parameters

    • values: bigint[]
    • elementSize: number

    Returns Vector

Properties

elementSize: number
values: bigint[]

Accessors

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_field._internal_.PrimeField.html b/classes/_divviup_field._internal_.PrimeField.html index cb552a788..40c749e90 100644 --- a/classes/_divviup_field._internal_.PrimeField.html +++ b/classes/_divviup_field._internal_.PrimeField.html @@ -1,4 +1,4 @@ -PrimeField | Documentation

Constructors

constructor +PrimeField | Documentation

Constructors

Properties

Methods

add @@ -27,4 +27,4 @@ sub subPolys subVectorElements -

Constructors

Properties

elementSize: number
modulus: bigint

Methods

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

  • Parameters

    • base: bigint
    • exponent: bigint

    Returns bigint

  • Parameters

    • order: number

    Returns bigint

  • Parameters

    • value: bigint

    Returns bigint

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

elementSize: number
modulus: bigint

Methods

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

  • Parameters

    • base: bigint
    • exponent: bigint

    Returns bigint

  • Parameters

    • order: number

    Returns bigint

  • Parameters

    • value: bigint

    Returns bigint

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

  • Parameters

    • x: bigint
    • y: bigint

    Returns bigint

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_prio3.Prio3.html b/classes/_divviup_prio3.Prio3.html index 58c4004e0..2a30dae65 100644 --- a/classes/_divviup_prio3.Prio3.html +++ b/classes/_divviup_prio3.Prio3.html @@ -1,4 +1,4 @@ -Prio3 | Documentation

Class Prio3<Measurement, AggregateResult>

Type Parameters

  • Measurement
  • AggregateResult

Hierarchy (view full)

Constructors

constructor +Prio3 | Documentation

Class Prio3<Measurement, AggregateResult>

Type Parameters

  • Measurement
  • AggregateResult

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

id: number
nonceSize: 16 = 16
randSize: number
rounds: 1 = 1
shares: number
verifyKeySize: number

Methods

  • Parameters

    • _aggregationParameter: null
    • previousAggregationParameters: null[]

    Returns boolean

  • Parameters

    Returns Promise<{
        inputShares: Buffer[];
        publicShare: Buffer;
    }>

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

id: number
nonceSize: 16 = 16
randSize: number
rounds: 1 = 1
shares: number
verifyKeySize: number

Methods

  • Parameters

    • _aggregationParameter: null
    • previousAggregationParameters: null[]

    Returns boolean

  • Parameters

    Returns Promise<{
        inputShares: Buffer[];
        publicShare: Buffer;
    }>

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_prio3.Prio3Count.html b/classes/_divviup_prio3.Prio3Count.html index 059af9761..0ef647e21 100644 --- a/classes/_divviup_prio3.Prio3Count.html +++ b/classes/_divviup_prio3.Prio3Count.html @@ -1,4 +1,4 @@ -Prio3Count | Documentation

Hierarchy (view full)

  • Prio3<boolean, number>
    • Prio3Count

Constructors

constructor +Prio3Count | Documentation

Hierarchy (view full)

  • Prio3<boolean, number>
    • Prio3Count

Constructors

Properties

Constructors

Properties

flp: Flp<boolean, number>
id: number
nonceSize: 16 = 16
randSize: number
rounds: 1 = 1
shares: number
verifyKeySize: number

Methods

  • Parameters

    • _aggregationParameter: null
    • previousAggregationParameters: null[]

    Returns boolean

  • Parameters

    • __namedParameters: {
          aggregationParameter: null;
          measurements: boolean[];
          nonces?: Buffer[];
          rands?: Buffer[];
          verifyKey?: Buffer;
      }
      • aggregationParameter: null
      • measurements: boolean[]
      • Optional nonces?: Buffer[]
      • Optional rands?: Buffer[]
      • Optional verifyKey?: Buffer

    Returns Promise<TestVector<null, boolean, number>>

  • Parameters

    Returns Promise<{
        inputShares: Buffer[];
        publicShare: Buffer;
    }>

  • Parameters

    • aggregationParameter: null
    • measurements: boolean[]

    Returns Promise<number>

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

flp: Flp<boolean, number>
id: number
nonceSize: 16 = 16
randSize: number
rounds: 1 = 1
shares: number
verifyKeySize: number

Methods

  • Parameters

    • _aggregationParameter: null
    • previousAggregationParameters: null[]

    Returns boolean

  • Parameters

    • __namedParameters: {
          aggregationParameter: null;
          measurements: boolean[];
          nonces?: Buffer[];
          rands?: Buffer[];
          verifyKey?: Buffer;
      }
      • aggregationParameter: null
      • measurements: boolean[]
      • Optional nonces?: Buffer[]
      • Optional rands?: Buffer[]
      • Optional verifyKey?: Buffer

    Returns Promise<TestVector<null, boolean, number>>

  • Parameters

    Returns Promise<{
        inputShares: Buffer[];
        publicShare: Buffer;
    }>

  • Parameters

    • aggregationParameter: null
    • measurements: boolean[]

    Returns Promise<number>

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_prio3.Prio3Histogram.html b/classes/_divviup_prio3.Prio3Histogram.html index f9b2fbc78..420935eb8 100644 --- a/classes/_divviup_prio3.Prio3Histogram.html +++ b/classes/_divviup_prio3.Prio3Histogram.html @@ -1,4 +1,4 @@ -Prio3Histogram | Documentation

Hierarchy (view full)

  • Prio3<number, number[]>
    • Prio3Histogram

Constructors

constructor +Prio3Histogram | Documentation

Hierarchy (view full)

  • Prio3<number, number[]>
    • Prio3Histogram

Constructors

Properties

Constructors

Properties

chunkLength: number
flp: Flp<number, number[]>
id: number
length: number
nonceSize: 16 = 16
randSize: number
rounds: 1 = 1
shares: number
verifyKeySize: number

Methods

  • Parameters

    • _aggregationParameter: null
    • previousAggregationParameters: null[]

    Returns boolean

  • Parameters

    • __namedParameters: {
          aggregationParameter: null;
          measurements: number[];
          nonces?: Buffer[];
          rands?: Buffer[];
          verifyKey?: Buffer;
      }
      • aggregationParameter: null
      • measurements: number[]
      • Optional nonces?: Buffer[]
      • Optional rands?: Buffer[]
      • Optional verifyKey?: Buffer

    Returns Promise<TestVector<null, number, number[]>>

  • Parameters

    Returns Promise<{
        inputShares: Buffer[];
        publicShare: Buffer;
    }>

  • Parameters

    • aggregationParameter: null
    • measurements: number[]

    Returns Promise<number[]>

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

chunkLength: number
flp: Flp<number, number[]>
id: number
length: number
nonceSize: 16 = 16
randSize: number
rounds: 1 = 1
shares: number
verifyKeySize: number

Methods

  • Parameters

    • _aggregationParameter: null
    • previousAggregationParameters: null[]

    Returns boolean

  • Parameters

    • __namedParameters: {
          aggregationParameter: null;
          measurements: number[];
          nonces?: Buffer[];
          rands?: Buffer[];
          verifyKey?: Buffer;
      }
      • aggregationParameter: null
      • measurements: number[]
      • Optional nonces?: Buffer[]
      • Optional rands?: Buffer[]
      • Optional verifyKey?: Buffer

    Returns Promise<TestVector<null, number, number[]>>

  • Parameters

    Returns Promise<{
        inputShares: Buffer[];
        publicShare: Buffer;
    }>

  • Parameters

    • aggregationParameter: null
    • measurements: number[]

    Returns Promise<number[]>

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_prio3.Prio3Sum.html b/classes/_divviup_prio3.Prio3Sum.html index 3ba17d30b..c0b163628 100644 --- a/classes/_divviup_prio3.Prio3Sum.html +++ b/classes/_divviup_prio3.Prio3Sum.html @@ -1,4 +1,4 @@ -Prio3Sum | Documentation

Hierarchy (view full)

  • Prio3<number | bigint, number | bigint>
    • Prio3Sum

Constructors

constructor +Prio3Sum | Documentation

Hierarchy (view full)

  • Prio3<number | bigint, number | bigint>
    • Prio3Sum

Constructors

Properties

Constructors

Properties

bits: number
flp: Flp<number | bigint, number | bigint>
id: number
nonceSize: 16 = 16
randSize: number
rounds: 1 = 1
shares: number
verifyKeySize: number

Methods

  • Parameters

    • _aggregationParameter: null
    • previousAggregationParameters: null[]

    Returns boolean

  • Parameters

    • __namedParameters: {
          aggregationParameter: null;
          measurements: (number | bigint)[];
          nonces?: Buffer[];
          rands?: Buffer[];
          verifyKey?: Buffer;
      }
      • aggregationParameter: null
      • measurements: (number | bigint)[]
      • Optional nonces?: Buffer[]
      • Optional rands?: Buffer[]
      • Optional verifyKey?: Buffer

    Returns Promise<TestVector<null, number | bigint, number | bigint>>

  • Parameters

    Returns Promise<{
        inputShares: Buffer[];
        publicShare: Buffer;
    }>

  • Parameters

    • aggregationParameter: null
    • measurements: (number | bigint)[]

    Returns Promise<number | bigint>

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

bits: number
flp: Flp<number | bigint, number | bigint>
id: number
nonceSize: 16 = 16
randSize: number
rounds: 1 = 1
shares: number
verifyKeySize: number

Methods

  • Parameters

    • _aggregationParameter: null
    • previousAggregationParameters: null[]

    Returns boolean

  • Parameters

    • __namedParameters: {
          aggregationParameter: null;
          measurements: (number | bigint)[];
          nonces?: Buffer[];
          rands?: Buffer[];
          verifyKey?: Buffer;
      }
      • aggregationParameter: null
      • measurements: (number | bigint)[]
      • Optional nonces?: Buffer[]
      • Optional rands?: Buffer[]
      • Optional verifyKey?: Buffer

    Returns Promise<TestVector<null, number | bigint, number | bigint>>

  • Parameters

    Returns Promise<{
        inputShares: Buffer[];
        publicShare: Buffer;
    }>

  • Parameters

    • aggregationParameter: null
    • measurements: (number | bigint)[]

    Returns Promise<number | bigint>

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_prio3.Prio3SumVec.html b/classes/_divviup_prio3.Prio3SumVec.html index 542bd3e2e..32b322910 100644 --- a/classes/_divviup_prio3.Prio3SumVec.html +++ b/classes/_divviup_prio3.Prio3SumVec.html @@ -1,4 +1,4 @@ -Prio3SumVec | Documentation

Hierarchy (view full)

  • Prio3<number[], number[]>
    • Prio3SumVec

Constructors

constructor +Prio3SumVec | Documentation

Hierarchy (view full)

  • Prio3<number[], number[]>
    • Prio3SumVec

Constructors

Properties

Constructors

Properties

bits: number
chunkLength: number
flp: Flp<number[], number[]>
id: number
length: number
nonceSize: 16 = 16
randSize: number
rounds: 1 = 1
shares: number
verifyKeySize: number

Methods

  • Parameters

    • _aggregationParameter: null
    • previousAggregationParameters: null[]

    Returns boolean

  • Parameters

    • __namedParameters: {
          aggregationParameter: null;
          measurements: number[][];
          nonces?: Buffer[];
          rands?: Buffer[];
          verifyKey?: Buffer;
      }
      • aggregationParameter: null
      • measurements: number[][]
      • Optional nonces?: Buffer[]
      • Optional rands?: Buffer[]
      • Optional verifyKey?: Buffer

    Returns Promise<TestVector<null, number[], number[]>>

  • Parameters

    Returns Promise<{
        inputShares: Buffer[];
        publicShare: Buffer;
    }>

  • Parameters

    • aggregationParameter: null
    • measurements: number[][]

    Returns Promise<number[]>

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

bits: number
chunkLength: number
flp: Flp<number[], number[]>
id: number
length: number
nonceSize: 16 = 16
randSize: number
rounds: 1 = 1
shares: number
verifyKeySize: number

Methods

  • Parameters

    • _aggregationParameter: null
    • previousAggregationParameters: null[]

    Returns boolean

  • Parameters

    • __namedParameters: {
          aggregationParameter: null;
          measurements: number[][];
          nonces?: Buffer[];
          rands?: Buffer[];
          verifyKey?: Buffer;
      }
      • aggregationParameter: null
      • measurements: number[][]
      • Optional nonces?: Buffer[]
      • Optional rands?: Buffer[]
      • Optional verifyKey?: Buffer

    Returns Promise<TestVector<null, number[], number[]>>

  • Parameters

    Returns Promise<{
        inputShares: Buffer[];
        publicShare: Buffer;
    }>

  • Parameters

    • aggregationParameter: null
    • measurements: number[][]

    Returns Promise<number[]>

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/_divviup_vdaf.Vdaf.html b/classes/_divviup_vdaf.Vdaf.html index 6871151aa..aa17576b2 100644 --- a/classes/_divviup_vdaf.Vdaf.html +++ b/classes/_divviup_vdaf.Vdaf.html @@ -1,4 +1,4 @@ -Vdaf | Documentation

Class Vdaf<Measurement, AggregationParameter, PublicShare, InputShare, OutputShare, AggregatorShare, AggregateResult, PreparationState, PreparationShare, PreparationMessage>Abstract

Type Parameters

  • Measurement
  • AggregationParameter
  • PublicShare
  • InputShare
  • OutputShare
  • AggregatorShare
  • AggregateResult
  • PreparationState
  • PreparationShare
  • PreparationMessage

Constructors

constructor +Vdaf | Documentation

Class Vdaf<Measurement, AggregationParameter, PublicShare, InputShare, OutputShare, AggregatorShare, AggregateResult, PreparationState, PreparationShare, PreparationMessage>Abstract

Type Parameters

  • Measurement
  • AggregationParameter
  • PublicShare
  • InputShare
  • OutputShare
  • AggregatorShare
  • AggregateResult
  • PreparationState
  • PreparationShare
  • PreparationMessage

Constructors

Properties

Constructors

Properties

id: number
nonceSize: number
randSize: number
rounds: number
shares: number
verifyKeySize: number

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

id: number
nonceSize: number
randSize: number
rounds: number
shares: number
verifyKeySize: number

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/enums/_divviup_dap._internal_.Role.html b/enums/_divviup_dap._internal_.Role.html index c2b723c29..6f1228c56 100644 --- a/enums/_divviup_dap._internal_.Role.html +++ b/enums/_divviup_dap._internal_.Role.html @@ -1,5 +1,5 @@ -Role | Documentation

Enumeration Members

Client +Role | Documentation

Enumeration Members

Enumeration Members

Client: 1
Collector: 0
Helper: 3
Leader: 2

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

Client: 1
Collector: 0
Helper: 3
Leader: 2

Generated using TypeDoc

\ No newline at end of file diff --git a/enums/_divviup_prio3._internal_.Usage.html b/enums/_divviup_prio3._internal_.Usage.html index f9d3b6ee6..421efac21 100644 --- a/enums/_divviup_prio3._internal_.Usage.html +++ b/enums/_divviup_prio3._internal_.Usage.html @@ -1,8 +1,8 @@ -Usage | Documentation

Enumeration Members

JointRandPart +Usage | Documentation

Enumeration Members

JointRandPart: 7
JointRandSeed: 6
JointRandomness: 3
MeasurementShare: 1
ProofShare: 2
ProveRandomness: 4
QueryRandomness: 5

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

JointRandPart: 7
JointRandSeed: 6
JointRandomness: 3
MeasurementShare: 1
ProofShare: 2
ProveRandomness: 4
QueryRandomness: 5

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/_divviup_vdaf.formatDomainSeparationTag.html b/functions/_divviup_vdaf.formatDomainSeparationTag.html index 142c2c550..98120bbff 100644 --- a/functions/_divviup_vdaf.formatDomainSeparationTag.html +++ b/functions/_divviup_vdaf.formatDomainSeparationTag.html @@ -1 +1 @@ -formatDomainSeparationTag | Documentation

Function formatDomainSeparationTag

Generated using TypeDoc

\ No newline at end of file +formatDomainSeparationTag | Documentation

Function formatDomainSeparationTag

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/_divviup_vdaf.runVdaf.html b/functions/_divviup_vdaf.runVdaf.html index 621d79c78..4128eb23a 100644 --- a/functions/_divviup_vdaf.runVdaf.html +++ b/functions/_divviup_vdaf.runVdaf.html @@ -1 +1 @@ -runVdaf | Documentation

Generated using TypeDoc

\ No newline at end of file +runVdaf | Documentation

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_dap.ReportOptions.html b/interfaces/_divviup_dap.ReportOptions.html index a92b02ed1..62aefdd69 100644 --- a/interfaces/_divviup_dap.ReportOptions.html +++ b/interfaces/_divviup_dap.ReportOptions.html @@ -1,2 +1,2 @@ -ReportOptions | Documentation
interface ReportOptions {
    timestamp?: Date;
}

Properties

Properties

timestamp?: Date

Generated using TypeDoc

\ No newline at end of file +ReportOptions | Documentation
interface ReportOptions {
    timestamp?: Date;
}

Properties

Properties

timestamp?: Date

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_dap._internal_.ClientParameters.html b/interfaces/_divviup_dap._internal_.ClientParameters.html index 33998cffc..89b8fb28f 100644 --- a/interfaces/_divviup_dap._internal_.ClientParameters.html +++ b/interfaces/_divviup_dap._internal_.ClientParameters.html @@ -1,17 +1,17 @@ ClientParameters | Documentation

Parameters from which to build a Task

Type Param: Measurement

The Measurement for the provided vdaf, usually inferred from the vdaf.

-
interface ClientParameters {
    helper: string | URL;
    id: string | Buffer | TaskId;
    leader: string | URL;
    timePrecisionSeconds: number;
}

Properties

interface ClientParameters {
    helper: string | URL;
    id: string | Buffer | TaskId;
    leader: string | URL;
    timePrecisionSeconds: number;
}

Properties

helper: string | URL

the url of the helper aggregator, specified as either a string or URLs.

-
id: string | Buffer | TaskId

The task identifier for this Task. This can be specified +

id: string | Buffer | TaskId

The task identifier for this Task. This can be specified either as a Buffer, a TaskId or a base64url-encoded string *

-
leader: string | URL

the url of the leader aggregator, specified as either a string +

leader: string | URL

the url of the leader aggregator, specified as either a string or a URL

-
timePrecisionSeconds: number

The task's minimum batch duration, in seconds. Report timestamps will be +

timePrecisionSeconds: number

The task's minimum batch duration, in seconds. Report timestamps will be rounded down to a multiple of this.

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_dap._internal_.Encodable.html b/interfaces/_divviup_dap._internal_.Encodable.html index 27292769d..4242dcd81 100644 --- a/interfaces/_divviup_dap._internal_.Encodable.html +++ b/interfaces/_divviup_dap._internal_.Encodable.html @@ -1,2 +1,2 @@ -Encodable | Documentation
interface Encodable {
    encode(): Buffer;
}

Implemented by

Methods

Methods

Generated using TypeDoc

\ No newline at end of file +Encodable | Documentation
interface Encodable {
    encode(): Buffer;
}

Implemented by

Methods

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_dap._internal_.KnownVdafs.html b/interfaces/_divviup_dap._internal_.KnownVdafs.html index cb9213888..94d4e93f0 100644 --- a/interfaces/_divviup_dap._internal_.KnownVdafs.html +++ b/interfaces/_divviup_dap._internal_.KnownVdafs.html @@ -1,5 +1,5 @@ -KnownVdafs | Documentation
interface KnownVdafs {
    count: typeof Prio3Count;
    histogram: typeof Prio3Histogram;
    sum: typeof Prio3Sum;
    sumVec: typeof Prio3SumVec;
}

Properties

count +KnownVdafs | Documentation
interface KnownVdafs {
    count: typeof Prio3Count;
    histogram: typeof Prio3Histogram;
    sum: typeof Prio3Sum;
    sumVec: typeof Prio3SumVec;
}

Properties

count: typeof Prio3Count
histogram: typeof Prio3Histogram
sum: typeof Prio3Sum
sumVec: typeof Prio3SumVec

Generated using TypeDoc

\ No newline at end of file +

Properties

count: typeof Prio3Count
histogram: typeof Prio3Histogram
sum: typeof Prio3Sum
sumVec: typeof Prio3SumVec

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_dap._internal_.Parseable.html b/interfaces/_divviup_dap._internal_.Parseable.html index 3facf2fdd..5d0c4f91a 100644 --- a/interfaces/_divviup_dap._internal_.Parseable.html +++ b/interfaces/_divviup_dap._internal_.Parseable.html @@ -1,2 +1,2 @@ -Parseable | Documentation
interface Parseable<U> {
    parse(source): U;
}

Type Parameters

  • U

Methods

Methods

Generated using TypeDoc

\ No newline at end of file +Parseable | Documentation
interface Parseable<U> {
    parse(source): U;
}

Type Parameters

  • U

Methods

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_dap._internal_.Problem.html b/interfaces/_divviup_dap._internal_.Problem.html index bb43e2d6a..54af952a4 100644 --- a/interfaces/_divviup_dap._internal_.Problem.html +++ b/interfaces/_divviup_dap._internal_.Problem.html @@ -1,7 +1,7 @@ -Problem | Documentation
interface Problem {
    detail: string;
    instance: string;
    status: number;
    taskid: string;
    title: string;
    type: string;
}

Properties

detail +Problem | Documentation
interface Problem {
    detail: string;
    instance: string;
    status: number;
    taskid: string;
    title: string;
    type: string;
}

Properties

detail: string
instance: string
status: number
taskid: string
title: string
type: string

Generated using TypeDoc

\ No newline at end of file +

Properties

detail: string
instance: string
status: number
taskid: string
title: string
type: string

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_field._internal_.ArithmeticOperation.html b/interfaces/_divviup_field._internal_.ArithmeticOperation.html index 17a340000..d41902fb0 100644 --- a/interfaces/_divviup_field._internal_.ArithmeticOperation.html +++ b/interfaces/_divviup_field._internal_.ArithmeticOperation.html @@ -1 +1 @@ -ArithmeticOperation | Documentation
interface ArithmeticOperation ((this, a, b) => bigint)

Generated using TypeDoc

\ No newline at end of file +ArithmeticOperation | Documentation
interface ArithmeticOperation ((this, a, b) => bigint)

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_field._internal_.FieldConstructorArgs.html b/interfaces/_divviup_field._internal_.FieldConstructorArgs.html index ecc1bb25b..44b51fe31 100644 --- a/interfaces/_divviup_field._internal_.FieldConstructorArgs.html +++ b/interfaces/_divviup_field._internal_.FieldConstructorArgs.html @@ -1,5 +1,5 @@ -FieldConstructorArgs | Documentation
interface FieldConstructorArgs {
    encodedSize: number;
    genOrder: bigint;
    generator: {
        base: bigint;
        exponent: bigint;
    };
    modulus: bigint;
}

Properties

encodedSize +FieldConstructorArgs | Documentation
interface FieldConstructorArgs {
    encodedSize: number;
    genOrder: bigint;
    generator: {
        base: bigint;
        exponent: bigint;
    };
    modulus: bigint;
}

Properties

encodedSize: number
genOrder: bigint
generator: {
    base: bigint;
    exponent: bigint;
}

Type declaration

  • base: bigint
  • exponent: bigint
modulus: bigint

Generated using TypeDoc

\ No newline at end of file +

Properties

encodedSize: number
genOrder: bigint
generator: {
    base: bigint;
    exponent: bigint;
}

Type declaration

  • base: bigint
  • exponent: bigint
modulus: bigint

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_prio3._internal_.Flp.html b/interfaces/_divviup_prio3._internal_.Flp.html index ca46de9fe..81fce4d29 100644 --- a/interfaces/_divviup_prio3._internal_.Flp.html +++ b/interfaces/_divviup_prio3._internal_.Flp.html @@ -1,4 +1,4 @@ -Flp | Documentation

Interface Flp<Measurement, AggResult>

interface Flp<Measurement, AggResult> {
    field: Field;
    jointRandLen: number;
    measurementLen: number;
    outputLen: number;
    proofLen: number;
    proveRandLen: number;
    queryRandLen: number;
    verifierLen: number;
    decide(verifier): boolean;
    decode(output, numMeasurements): AggResult;
    encode(measurement): bigint[];
    prove(encodedMeasurement, proveRand, jointRand): bigint[];
    query(encodedMeasurement, proof, queryRand, jointRand, shares): bigint[];
    truncate(encodedMeasurement): bigint[];
}

Type Parameters

  • Measurement
  • AggResult

Properties

field +Flp | Documentation

Interface Flp<Measurement, AggResult>

interface Flp<Measurement, AggResult> {
    field: Field;
    jointRandLen: number;
    measurementLen: number;
    outputLen: number;
    proofLen: number;
    proveRandLen: number;
    queryRandLen: number;
    verifierLen: number;
    decide(verifier): boolean;
    decode(output, numMeasurements): AggResult;
    encode(measurement): bigint[];
    prove(encodedMeasurement, proveRand, jointRand): bigint[];
    query(encodedMeasurement, proof, queryRand, jointRand, shares): bigint[];
    truncate(encodedMeasurement): bigint[];
}

Type Parameters

  • Measurement
  • AggResult

Properties

field: Field
jointRandLen: number
measurementLen: number
outputLen: number
proofLen: number
proveRandLen: number
queryRandLen: number
verifierLen: number

Methods

  • Parameters

    • encodedMeasurement: bigint[]
    • proveRand: bigint[]
    • jointRand: bigint[]

    Returns bigint[]

  • Parameters

    • encodedMeasurement: bigint[]
    • proof: bigint[]
    • queryRand: bigint[]
    • jointRand: bigint[]
    • shares: number

    Returns bigint[]

Generated using TypeDoc

\ No newline at end of file +

Properties

field: Field
jointRandLen: number
measurementLen: number
outputLen: number
proofLen: number
proveRandLen: number
queryRandLen: number
verifierLen: number

Methods

  • Parameters

    • encodedMeasurement: bigint[]
    • proveRand: bigint[]
    • jointRand: bigint[]

    Returns bigint[]

  • Parameters

    • encodedMeasurement: bigint[]
    • proof: bigint[]
    • queryRand: bigint[]
    • jointRand: bigint[]
    • shares: number

    Returns bigint[]

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_prio3._internal_.HistogramArgs.html b/interfaces/_divviup_prio3._internal_.HistogramArgs.html index c58a35aff..6c3a2eb4d 100644 --- a/interfaces/_divviup_prio3._internal_.HistogramArgs.html +++ b/interfaces/_divviup_prio3._internal_.HistogramArgs.html @@ -1,4 +1,4 @@ -HistogramArgs | Documentation
interface HistogramArgs {
    chunkLength: number;
    length: number;
    shares: number;
}

Properties

chunkLength +HistogramArgs | Documentation
interface HistogramArgs {
    chunkLength: number;
    length: number;
    shares: number;
}

Properties

chunkLength: number
length: number
shares: number

Generated using TypeDoc

\ No newline at end of file +

Properties

chunkLength: number
length: number
shares: number

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_prio3._internal_.SumVecArgs.html b/interfaces/_divviup_prio3._internal_.SumVecArgs.html index 2923304a1..a4f0b970f 100644 --- a/interfaces/_divviup_prio3._internal_.SumVecArgs.html +++ b/interfaces/_divviup_prio3._internal_.SumVecArgs.html @@ -1,5 +1,5 @@ -SumVecArgs | Documentation
interface SumVecArgs {
    bits: number;
    chunkLength: number;
    length: number;
    shares: number;
}

Properties

bits +SumVecArgs | Documentation
interface SumVecArgs {
    bits: number;
    chunkLength: number;
    length: number;
    shares: number;
}

Properties

bits: number
chunkLength: number
length: number
shares: number

Generated using TypeDoc

\ No newline at end of file +

Properties

bits: number
chunkLength: number
length: number
shares: number

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_vdaf.ClientVdaf.html b/interfaces/_divviup_vdaf.ClientVdaf.html index fc606d8ea..38e7e67cf 100644 --- a/interfaces/_divviup_vdaf.ClientVdaf.html +++ b/interfaces/_divviup_vdaf.ClientVdaf.html @@ -1,6 +1,6 @@ -ClientVdaf | Documentation

Interface ClientVdaf<Measurement>

interface ClientVdaf<Measurement> {
    nonceSize: number;
    randSize: number;
    rounds: number;
    shares: number;
    shardEncoded(measurement, nonce, rand): Promise<{
        inputShares: Buffer[];
        publicShare: Buffer;
    }>;
}

Type Parameters

  • Measurement

Properties

nonceSize +ClientVdaf | Documentation

Interface ClientVdaf<Measurement>

interface ClientVdaf<Measurement> {
    nonceSize: number;
    randSize: number;
    rounds: number;
    shares: number;
    shardEncoded(measurement, nonce, rand): Promise<{
        inputShares: Buffer[];
        publicShare: Buffer;
    }>;
}

Type Parameters

  • Measurement

Properties

nonceSize: number
randSize: number
rounds: number
shares: number

Methods

Generated using TypeDoc

\ No newline at end of file +

Properties

nonceSize: number
randSize: number
rounds: number
shares: number

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_vdaf.PrepTestVector.html b/interfaces/_divviup_vdaf.PrepTestVector.html index 123f4d98e..7c9c66a8a 100644 --- a/interfaces/_divviup_vdaf.PrepTestVector.html +++ b/interfaces/_divviup_vdaf.PrepTestVector.html @@ -1,4 +1,4 @@ -PrepTestVector | Documentation

Interface PrepTestVector<M>

interface PrepTestVector<M> {
    input_shares: string[];
    measurement: M;
    nonce: string;
    out_shares: string[][];
    prep_messages: string[];
    prep_shares: string[][];
    public_share: string;
    rand: string;
}

Type Parameters

  • M

Properties

input_shares +PrepTestVector | Documentation

Interface PrepTestVector<M>

interface PrepTestVector<M> {
    input_shares: string[];
    measurement: M;
    nonce: string;
    out_shares: string[][];
    prep_messages: string[];
    prep_shares: string[][];
    public_share: string;
    rand: string;
}

Type Parameters

  • M

Properties

input_shares: string[]
measurement: M
nonce: string
out_shares: string[][]
prep_messages: string[]
prep_shares: string[][]
public_share: string
rand: string

Generated using TypeDoc

\ No newline at end of file +

Properties

input_shares: string[]
measurement: M
nonce: string
out_shares: string[][]
prep_messages: string[]
prep_shares: string[][]
public_share: string
rand: string

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_vdaf.TestVector.html b/interfaces/_divviup_vdaf.TestVector.html index d7d704acd..cf71f95a2 100644 --- a/interfaces/_divviup_vdaf.TestVector.html +++ b/interfaces/_divviup_vdaf.TestVector.html @@ -1,7 +1,7 @@ -TestVector | Documentation

Interface TestVector<AP, M, AR>

interface TestVector<AP, M, AR> {
    agg_param: AP;
    agg_result: AR;
    agg_shares: string[];
    prep: PrepTestVector<M>[];
    shares: number;
    verify_key: string;
}

Type Parameters

  • AP
  • M
  • AR

Properties

agg_param +TestVector | Documentation

Interface TestVector<AP, M, AR>

interface TestVector<AP, M, AR> {
    agg_param: AP;
    agg_result: AR;
    agg_shares: string[];
    prep: PrepTestVector<M>[];
    shares: number;
    verify_key: string;
}

Type Parameters

  • AP
  • M
  • AR

Properties

agg_param: AP
agg_result: AR
agg_shares: string[]
prep: PrepTestVector<M>[]
shares: number
verify_key: string

Generated using TypeDoc

\ No newline at end of file +

Properties

agg_param: AP
agg_result: AR
agg_shares: string[]
prep: PrepTestVector<M>[]
shares: number
verify_key: string

Generated using TypeDoc

\ No newline at end of file diff --git a/interfaces/_divviup_vdaf._internal_.RunVdafArguments.html b/interfaces/_divviup_vdaf._internal_.RunVdafArguments.html index 5f0dfd3e2..1ecbe6963 100644 --- a/interfaces/_divviup_vdaf._internal_.RunVdafArguments.html +++ b/interfaces/_divviup_vdaf._internal_.RunVdafArguments.html @@ -1,7 +1,7 @@ -RunVdafArguments | Documentation

Interface RunVdafArguments<M, AP, PuSh, IS, OS, AS, AR, PrSt, PrSh, PM>

interface RunVdafArguments<M, AP, PuSh, IS, OS, AS, AR, PrSt, PrSh, PM> {
    aggregationParameter: AP;
    measurements: M[];
    nonces?: Buffer[];
    rands?: Buffer[];
    vdaf: Vdaf<M, AP, PuSh, IS, OS, AS, AR, PrSt, PrSh, PM>;
    verifyKey?: Buffer;
}

Type Parameters

  • M
  • AP
  • PuSh
  • IS
  • OS
  • AS
  • AR
  • PrSt
  • PrSh
  • PM

Properties

aggregationParameter +RunVdafArguments | Documentation

Interface RunVdafArguments<M, AP, PuSh, IS, OS, AS, AR, PrSt, PrSh, PM>

interface RunVdafArguments<M, AP, PuSh, IS, OS, AS, AR, PrSt, PrSh, PM> {
    aggregationParameter: AP;
    measurements: M[];
    nonces?: Buffer[];
    rands?: Buffer[];
    vdaf: Vdaf<M, AP, PuSh, IS, OS, AS, AR, PrSt, PrSh, PM>;
    verifyKey?: Buffer;
}

Type Parameters

  • M
  • AP
  • PuSh
  • IS
  • OS
  • AS
  • AR
  • PrSt
  • PrSh
  • PM

Properties

aggregationParameter: AP
measurements: M[]
nonces?: Buffer[]
rands?: Buffer[]
vdaf: Vdaf<M, AP, PuSh, IS, OS, AS, AR, PrSt, PrSh, PM>
verifyKey?: Buffer

Generated using TypeDoc

\ No newline at end of file +

Properties

aggregationParameter: AP
measurements: M[]
nonces?: Buffer[]
rands?: Buffer[]
vdaf: Vdaf<M, AP, PuSh, IS, OS, AS, AR, PrSt, PrSh, PM>
verifyKey?: Buffer

Generated using TypeDoc

\ No newline at end of file diff --git a/modules/_divviup_dap._internal_.html b/modules/_divviup_dap._internal_.html index c539cab29..8e5966712 100644 --- a/modules/_divviup_dap._internal_.html +++ b/modules/_divviup_dap._internal_.html @@ -127,4 +127,4 @@ KemId SharedArrayBuffer SubtleCrypto -

Enumeration Members

TBD: 0

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

TBD: 0

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_dap.KnownVdafSpec.html b/types/_divviup_dap.KnownVdafSpec.html index a1f2dd300..47bb09990 100644 --- a/types/_divviup_dap.KnownVdafSpec.html +++ b/types/_divviup_dap.KnownVdafSpec.html @@ -1 +1 @@ -KnownVdafSpec | Documentation
KnownVdafSpec: {
    [Key in KnownVdafNames]: Omit<{
        type: Key;
    } & ConstructorParameters<KnownVdafs[Key]>[0], "shares">
}[KnownVdafNames]

Generated using TypeDoc

\ No newline at end of file +KnownVdafSpec | Documentation
KnownVdafSpec: {
    [Key in KnownVdafNames]: Omit<{
        type: Key;
    } & ConstructorParameters<KnownVdafs[Key]>[0], "shares">
}[KnownVdafNames]

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_dap.VdafMeasurement.html b/types/_divviup_dap.VdafMeasurement.html index 79047536a..645e23882 100644 --- a/types/_divviup_dap.VdafMeasurement.html +++ b/types/_divviup_dap.VdafMeasurement.html @@ -1 +1 @@ -VdafMeasurement | Documentation

Type alias VdafMeasurement<Spec>

VdafMeasurement<Spec>: Parameters<VdafInstance<Spec>["shard"]>[0]

Type Parameters

Generated using TypeDoc

\ No newline at end of file +VdafMeasurement | Documentation

Type alias VdafMeasurement<Spec>

VdafMeasurement<Spec>: Parameters<VdafInstance<Spec>["shard"]>[0]

Type Parameters

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_dap._internal_.Fetch.html b/types/_divviup_dap._internal_.Fetch.html index 885e4752c..2aed61ae5 100644 --- a/types/_divviup_dap._internal_.Fetch.html +++ b/types/_divviup_dap._internal_.Fetch.html @@ -1 +1 @@ -Fetch | Documentation
Fetch: ((input, init?) => Promise<Response>)

Type declaration

    • (input, init?): Promise<Response>
    • Parameters

      Returns Promise<Response>

Generated using TypeDoc

\ No newline at end of file +Fetch | Documentation
Fetch: ((input, init?) => Promise<Response>)

Type declaration

    • (input, init?): Promise<Response>
    • Parameters

      Returns Promise<Response>

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_dap._internal_.KnownVdaf.html b/types/_divviup_dap._internal_.KnownVdaf.html index ff30a2a94..886d8289a 100644 --- a/types/_divviup_dap._internal_.KnownVdaf.html +++ b/types/_divviup_dap._internal_.KnownVdaf.html @@ -1 +1 @@ -KnownVdaf | Documentation
KnownVdaf<Spec>: KnownVdafs[Spec["type"]]

Type Parameters

Generated using TypeDoc

\ No newline at end of file +KnownVdaf | Documentation
KnownVdaf<Spec>: KnownVdafs[Spec["type"]]

Type Parameters

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_dap._internal_.KnownVdafNames.html b/types/_divviup_dap._internal_.KnownVdafNames.html index 311ec813a..ff7e98c7d 100644 --- a/types/_divviup_dap._internal_.KnownVdafNames.html +++ b/types/_divviup_dap._internal_.KnownVdafNames.html @@ -1 +1 @@ -KnownVdafNames | Documentation
KnownVdafNames: keyof KnownVdafs

Generated using TypeDoc

\ No newline at end of file +KnownVdafNames | Documentation
KnownVdafNames: keyof KnownVdafs

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_dap._internal_.ParseSource.html b/types/_divviup_dap._internal_.ParseSource.html index 7e4309cae..56428f28d 100644 --- a/types/_divviup_dap._internal_.ParseSource.html +++ b/types/_divviup_dap._internal_.ParseSource.html @@ -1 +1 @@ -ParseSource | Documentation
ParseSource: Parser | ArrayBuffer | Buffer

Generated using TypeDoc

\ No newline at end of file +ParseSource | Documentation
ParseSource: Parser | ArrayBuffer | Buffer

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_dap._internal_.VdafInstance.html b/types/_divviup_dap._internal_.VdafInstance.html index e93ada3d1..5f663ff90 100644 --- a/types/_divviup_dap._internal_.VdafInstance.html +++ b/types/_divviup_dap._internal_.VdafInstance.html @@ -1 +1 @@ -VdafInstance | Documentation
VdafInstance<Spec>: InstanceType<KnownVdaf<Spec>>

Type Parameters

Generated using TypeDoc

\ No newline at end of file +VdafInstance | Documentation
VdafInstance<Spec>: InstanceType<KnownVdaf<Spec>>

Type Parameters

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.AggregationParameter.html b/types/_divviup_prio3._internal_.AggregationParameter.html index ce8dbdf63..c2a4f013f 100644 --- a/types/_divviup_prio3._internal_.AggregationParameter.html +++ b/types/_divviup_prio3._internal_.AggregationParameter.html @@ -1 +1 @@ -AggregationParameter | Documentation
AggregationParameter: null

Generated using TypeDoc

\ No newline at end of file +AggregationParameter | Documentation
AggregationParameter: null

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.AggregatorShare.html b/types/_divviup_prio3._internal_.AggregatorShare.html index 94b11003f..26b213475 100644 --- a/types/_divviup_prio3._internal_.AggregatorShare.html +++ b/types/_divviup_prio3._internal_.AggregatorShare.html @@ -1 +1 @@ -AggregatorShare | Documentation
AggregatorShare: bigint[]

Generated using TypeDoc

\ No newline at end of file +AggregatorShare | Documentation
AggregatorShare: bigint[]

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.InputShare.html b/types/_divviup_prio3._internal_.InputShare.html index 034b8fb64..f256dbe72 100644 --- a/types/_divviup_prio3._internal_.InputShare.html +++ b/types/_divviup_prio3._internal_.InputShare.html @@ -1 +1 @@ -InputShare | Documentation
InputShare: {
    blind: Buffer;
    measurementShare: bigint[];
    proofShare: bigint[];
    wireMeasurementShare: Buffer;
    wireProofShare: Buffer;
}

Type declaration

  • blind: Buffer
  • measurementShare: bigint[]
  • proofShare: bigint[]
  • wireMeasurementShare: Buffer
  • wireProofShare: Buffer

Generated using TypeDoc

\ No newline at end of file +InputShare | Documentation
InputShare: {
    blind: Buffer;
    measurementShare: bigint[];
    proofShare: bigint[];
    wireMeasurementShare: Buffer;
    wireProofShare: Buffer;
}

Type declaration

  • blind: Buffer
  • measurementShare: bigint[]
  • proofShare: bigint[]
  • wireMeasurementShare: Buffer
  • wireProofShare: Buffer

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.OutputShare.html b/types/_divviup_prio3._internal_.OutputShare.html index 789e03f84..6608f1e2e 100644 --- a/types/_divviup_prio3._internal_.OutputShare.html +++ b/types/_divviup_prio3._internal_.OutputShare.html @@ -1 +1 @@ -OutputShare | Documentation
OutputShare: bigint[]

Generated using TypeDoc

\ No newline at end of file +OutputShare | Documentation
OutputShare: bigint[]

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.PreparationMessage.html b/types/_divviup_prio3._internal_.PreparationMessage.html index c9d736000..e5b4aefa2 100644 --- a/types/_divviup_prio3._internal_.PreparationMessage.html +++ b/types/_divviup_prio3._internal_.PreparationMessage.html @@ -1 +1 @@ -PreparationMessage | Documentation
PreparationMessage: {
    jointRand: Buffer;
}

Type declaration

Generated using TypeDoc

\ No newline at end of file +PreparationMessage | Documentation
PreparationMessage: {
    jointRand: Buffer;
}

Type declaration

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.PreparationShare.html b/types/_divviup_prio3._internal_.PreparationShare.html index fdb2d4a33..8e2fc8951 100644 --- a/types/_divviup_prio3._internal_.PreparationShare.html +++ b/types/_divviup_prio3._internal_.PreparationShare.html @@ -1 +1 @@ -PreparationShare | Documentation
PreparationShare: {
    jointRandomnessPart: Buffer;
    verifierShare: bigint[];
}

Type declaration

  • jointRandomnessPart: Buffer
  • verifierShare: bigint[]

Generated using TypeDoc

\ No newline at end of file +PreparationShare | Documentation
PreparationShare: {
    jointRandomnessPart: Buffer;
    verifierShare: bigint[];
}

Type declaration

  • jointRandomnessPart: Buffer
  • verifierShare: bigint[]

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.PreparationState.html b/types/_divviup_prio3._internal_.PreparationState.html index 8b52fe30b..0df6fe1f7 100644 --- a/types/_divviup_prio3._internal_.PreparationState.html +++ b/types/_divviup_prio3._internal_.PreparationState.html @@ -1 +1 @@ -PreparationState | Documentation
PreparationState: {
    correctedJointRandSeed: Buffer;
    outputShare: OutputShare;
}

Type declaration

Generated using TypeDoc

\ No newline at end of file +PreparationState | Documentation
PreparationState: {
    correctedJointRandSeed: Buffer;
    outputShare: OutputShare;
}

Type declaration

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.PublicShare.html b/types/_divviup_prio3._internal_.PublicShare.html index 33d2e5118..d1775250b 100644 --- a/types/_divviup_prio3._internal_.PublicShare.html +++ b/types/_divviup_prio3._internal_.PublicShare.html @@ -1 +1 @@ -PublicShare | Documentation
PublicShare: {
    jointRandParts: Buffer[];
}

Type declaration

Generated using TypeDoc

\ No newline at end of file +PublicShare | Documentation
PublicShare: {
    jointRandParts: Buffer[];
}

Type declaration

Generated using TypeDoc

\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.Share.html b/types/_divviup_prio3._internal_.Share.html index b5ca7d251..c7e5b530b 100644 --- a/types/_divviup_prio3._internal_.Share.html +++ b/types/_divviup_prio3._internal_.Share.html @@ -1 +1 @@ -Share | Documentation
Share: InputShare & {
    jointRandPart: Buffer;
}

Type declaration

Generated using TypeDoc

\ No newline at end of file +Share | Documentation
Share: InputShare & {
    jointRandPart: Buffer;
}

Type declaration

Generated using TypeDoc

\ No newline at end of file diff --git a/variables/_divviup_vdaf.VDAF_VERSION.html b/variables/_divviup_vdaf.VDAF_VERSION.html index b6989eced..aa120cc7f 100644 --- a/variables/_divviup_vdaf.VDAF_VERSION.html +++ b/variables/_divviup_vdaf.VDAF_VERSION.html @@ -1 +1 @@ -VDAF_VERSION | Documentation

Variable VDAF_VERSIONConst

VDAF_VERSION: "vdaf-07" = "vdaf-07"

Generated using TypeDoc

\ No newline at end of file +VDAF_VERSION | Documentation

Variable VDAF_VERSIONConst

VDAF_VERSION: "vdaf-07" = "vdaf-07"

Generated using TypeDoc

\ No newline at end of file