diff --git a/classes/_divviup_dap.DAPError.html b/classes/_divviup_dap.DAPError.html index cca830595..2af48c846 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

\ No newline at end of file +

Parameters

Returns void

\ No newline at end of file diff --git a/classes/_divviup_dap.HpkeConfig.html b/classes/_divviup_dap.HpkeConfig.html index c75ef733d..334f30565 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

\ No newline at end of file +

Constructors

Properties

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

Methods

\ No newline at end of file diff --git a/classes/_divviup_dap.Task.html b/classes/_divviup_dap.Task.html index 56082e12c..5dfeae463 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

    -
\ No newline at end of file +
\ No newline at end of file diff --git a/classes/_divviup_dap.TaskId.html b/classes/_divviup_dap.TaskId.html index 2bda2f54d..502093c9c 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

\ No newline at end of file +

Constructors

Properties

buffer: Buffer

Methods

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.Aggregator.html b/classes/_divviup_dap._internal_.Aggregator.html index 10e9ba04a..15ba03f90 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

\ No newline at end of file +

Constructors

Properties

hpkeConfigList?: HpkeConfigList
role: Role
url: URL

Methods

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.Extension.html b/classes/_divviup_dap._internal_.Extension.html index 2793ab4ea..def9ff090 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

\ No newline at end of file +

Constructors

Properties

data: Buffer
extensionType: TBD

Methods

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.HpkeCiphertext.html b/classes/_divviup_dap._internal_.HpkeCiphertext.html index e4b8b552e..603ed1291 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

\ No newline at end of file +

Constructors

Properties

configId: number
encapsulatedContext: Buffer
payload: Buffer

Methods

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.HpkeConfigList.html b/classes/_divviup_dap._internal_.HpkeConfigList.html index 3d94c596b..540d7c2dc 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

\ No newline at end of file +

Constructors

Properties

configs: HpkeConfig[]

Methods

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.InputShareAad.html b/classes/_divviup_dap._internal_.InputShareAad.html index 0bb0ffd0e..66ceb55e2 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

\ No newline at end of file +

Constructors

Properties

metadata: ReportMetadata
publicShare: Buffer
taskId: TaskId

Methods

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.Parser.html b/classes/_divviup_dap._internal_.Parser.html index 9c4e279c1..0e425b017 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

\ No newline at end of file +

Constructors

Properties

buffer: Buffer
index: number = 0

Methods

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.PlaintextInputShare.html b/classes/_divviup_dap._internal_.PlaintextInputShare.html index 03455323a..ef5468108 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

\ No newline at end of file +

Constructors

Properties

extensions: Extension[]
payload: Buffer

Methods

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.Report.html b/classes/_divviup_dap._internal_.Report.html index 53bd21b39..e1853f5df 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

\ No newline at end of file +

Constructors

Properties

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

Methods

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.ReportId.html b/classes/_divviup_dap._internal_.ReportId.html index 4d06c0ccb..f96bb8005 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

\ No newline at end of file +

Constructors

Properties

bytes: Buffer

Methods

\ No newline at end of file diff --git a/classes/_divviup_dap._internal_.ReportMetadata.html b/classes/_divviup_dap._internal_.ReportMetadata.html index f988cba25..e297a6410 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

\ No newline at end of file +

Constructors

Properties

reportId: ReportId
time: number

Methods

\ No newline at end of file diff --git a/classes/_divviup_field.Field.html b/classes/_divviup_field.Field.html index 29dc13a45..e70fcfeb9 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[]

\ 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[]

\ No newline at end of file diff --git a/classes/_divviup_field.Field128.html b/classes/_divviup_field.Field128.html index a4b880f44..af30a2ba0 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[]

\ 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[]

\ No newline at end of file diff --git a/classes/_divviup_field.Field64.html b/classes/_divviup_field.Field64.html index 29efa9610..ff76e3a65 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[]

\ 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[]

\ No newline at end of file diff --git a/classes/_divviup_field.Field96.html b/classes/_divviup_field.Field96.html index 16831d7df..5e605268b 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[]

\ 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[]

\ No newline at end of file diff --git a/classes/_divviup_field.Vector.html b/classes/_divviup_field.Vector.html index 9c047d52d..849846de7 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

\ No newline at end of file +

Constructors

  • Parameters

    • values: bigint[]
    • elementSize: number

    Returns Vector

Properties

elementSize: number
values: bigint[]

Accessors

Methods

\ No newline at end of file diff --git a/classes/_divviup_field._internal_.PrimeField.html b/classes/_divviup_field._internal_.PrimeField.html index 4ccbed95d..0dad6dca1 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

\ 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

\ No newline at end of file diff --git a/classes/_divviup_prio3.Prio3.html b/classes/_divviup_prio3.Prio3.html index 4860d08dc..faabddae0 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
proofs: number
randSize: number
rounds: 1 = 1
shares: number
verifyKeySize: number

Methods

  • Parameters

    • _aggregationParameter: null
    • previousAggregationParameters: null[]

    Returns boolean

  • Parameters

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

\ No newline at end of file +

Constructors

Properties

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

Methods

  • Parameters

    • _aggregationParameter: null
    • previousAggregationParameters: null[]

    Returns boolean

  • Parameters

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

\ No newline at end of file diff --git a/classes/_divviup_prio3.Prio3Count.html b/classes/_divviup_prio3.Prio3Count.html index b4ce78508..cfad7b5ca 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
proofs: number
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>

\ No newline at end of file +

Constructors

Properties

flp: Flp<boolean, number>
id: number
nonceSize: 16 = 16
proofs: number
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>

\ No newline at end of file diff --git a/classes/_divviup_prio3.Prio3Histogram.html b/classes/_divviup_prio3.Prio3Histogram.html index f72374f69..b9636f569 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
proofs: number
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[]>

\ No newline at end of file +

Constructors

Properties

chunkLength: number
flp: Flp<number, number[]>
id: number
length: number
nonceSize: 16 = 16
proofs: number
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[]>

\ No newline at end of file diff --git a/classes/_divviup_prio3.Prio3Sum.html b/classes/_divviup_prio3.Prio3Sum.html index 752750f5f..e24daa4a8 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
proofs: number
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>

\ No newline at end of file +

Constructors

Properties

bits: number
flp: Flp<number | bigint, number | bigint>
id: number
nonceSize: 16 = 16
proofs: number
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>

\ No newline at end of file diff --git a/classes/_divviup_prio3.Prio3SumVec.html b/classes/_divviup_prio3.Prio3SumVec.html index 6de974431..69b9b569e 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
proofs: number
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[]>

\ No newline at end of file +

Constructors

Properties

bits: number
chunkLength: number
flp: Flp<number[], number[]>
id: number
length: number
nonceSize: 16 = 16
proofs: number
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[]>

\ No newline at end of file diff --git a/classes/_divviup_vdaf.Vdaf.html b/classes/_divviup_vdaf.Vdaf.html index c4385b7d6..8fb558231 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

\ No newline at end of file +

Constructors

Properties

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

Methods

\ No newline at end of file diff --git a/enums/_divviup_dap._internal_.Role.html b/enums/_divviup_dap._internal_.Role.html index 822be3446..c4ffe2de9 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
\ No newline at end of file +

Enumeration Members

Client: 1
Collector: 0
Helper: 3
Leader: 2
\ No newline at end of file diff --git a/enums/_divviup_prio3._internal_.Usage.html b/enums/_divviup_prio3._internal_.Usage.html index 44d8e1f68..7bd6d3ad7 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
\ No newline at end of file +

Enumeration Members

JointRandPart: 7
JointRandSeed: 6
JointRandomness: 3
MeasurementShare: 1
ProofShare: 2
ProveRandomness: 4
QueryRandomness: 5
\ No newline at end of file diff --git a/functions/_divviup_vdaf.formatDomainSeparationTag.html b/functions/_divviup_vdaf.formatDomainSeparationTag.html index a50b8fff9..b5291a98c 100644 --- a/functions/_divviup_vdaf.formatDomainSeparationTag.html +++ b/functions/_divviup_vdaf.formatDomainSeparationTag.html @@ -1 +1 @@ -formatDomainSeparationTag | Documentation

Function formatDomainSeparationTag

\ No newline at end of file +formatDomainSeparationTag | Documentation

Function formatDomainSeparationTag

\ No newline at end of file diff --git a/functions/_divviup_vdaf.runVdaf.html b/functions/_divviup_vdaf.runVdaf.html index c5229ac59..e4e2e4f4e 100644 --- a/functions/_divviup_vdaf.runVdaf.html +++ b/functions/_divviup_vdaf.runVdaf.html @@ -1 +1 @@ -runVdaf | Documentation
\ No newline at end of file +runVdaf | Documentation
\ No newline at end of file diff --git a/interfaces/_divviup_dap.ReportOptions.html b/interfaces/_divviup_dap.ReportOptions.html index f7dea1f26..c8d5ccd29 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
\ No newline at end of file +ReportOptions | Documentation
interface ReportOptions {
    timestamp?: Date;
}

Properties

Properties

timestamp?: Date
\ No newline at end of file diff --git a/interfaces/_divviup_dap._internal_.ClientParameters.html b/interfaces/_divviup_dap._internal_.ClientParameters.html index 4803e162e..b7b94db5c 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.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/interfaces/_divviup_dap._internal_.Encodable.html b/interfaces/_divviup_dap._internal_.Encodable.html index 2d616cd25..ae5196342 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

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

Implemented by

Methods

Methods

\ No newline at end of file diff --git a/interfaces/_divviup_dap._internal_.KnownVdafs.html b/interfaces/_divviup_dap._internal_.KnownVdafs.html index 15822ac9d..f915d9f6e 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
\ No newline at end of file +

Properties

count: typeof Prio3Count
histogram: typeof Prio3Histogram
sum: typeof Prio3Sum
sumVec: typeof Prio3SumVec
\ No newline at end of file diff --git a/interfaces/_divviup_dap._internal_.Parseable.html b/interfaces/_divviup_dap._internal_.Parseable.html index eeafdc1ad..5a32d02f4 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

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

Type Parameters

  • U

Methods

Methods

\ No newline at end of file diff --git a/interfaces/_divviup_dap._internal_.Problem.html b/interfaces/_divviup_dap._internal_.Problem.html index a4bbe97eb..e149e00f8 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
\ No newline at end of file +

Properties

detail: string
instance: string
status: number
taskid: string
title: string
type: string
\ No newline at end of file diff --git a/interfaces/_divviup_field._internal_.ArithmeticOperation.html b/interfaces/_divviup_field._internal_.ArithmeticOperation.html index 2545ac221..04ba2357a 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)
\ No newline at end of file +ArithmeticOperation | Documentation
interface ArithmeticOperation ((this, a, b) => bigint)
\ No newline at end of file diff --git a/interfaces/_divviup_field._internal_.FieldConstructorArgs.html b/interfaces/_divviup_field._internal_.FieldConstructorArgs.html index b95180f2e..191be35be 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
\ No newline at end of file +

Properties

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

Type declaration

  • base: bigint
  • exponent: bigint
modulus: bigint
\ No newline at end of file diff --git a/interfaces/_divviup_prio3._internal_.Flp.html b/interfaces/_divviup_prio3._internal_.Flp.html index 9131ceae2..a77e9c1e2 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[]

\ 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[]

\ No newline at end of file diff --git a/interfaces/_divviup_prio3._internal_.HistogramArgs.html b/interfaces/_divviup_prio3._internal_.HistogramArgs.html index 45c0e116c..06d32b9bb 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
\ No newline at end of file +

Properties

chunkLength: number
length: number
shares: number
\ No newline at end of file diff --git a/interfaces/_divviup_prio3._internal_.SumVecArgs.html b/interfaces/_divviup_prio3._internal_.SumVecArgs.html index 2f5ef5a0f..2aa1aff4d 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
\ No newline at end of file +

Properties

bits: number
chunkLength: number
length: number
shares: number
\ No newline at end of file diff --git a/interfaces/_divviup_vdaf.ClientVdaf.html b/interfaces/_divviup_vdaf.ClientVdaf.html index 766fbbc91..ce7d2bdc6 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

\ No newline at end of file +

Properties

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

Methods

\ No newline at end of file diff --git a/interfaces/_divviup_vdaf.PrepTestVector.html b/interfaces/_divviup_vdaf.PrepTestVector.html index 88b50e3b6..cc9c4d613 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
\ 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
\ No newline at end of file diff --git a/interfaces/_divviup_vdaf.TestVector.html b/interfaces/_divviup_vdaf.TestVector.html index 1e6c22c5f..ab15baca6 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
\ No newline at end of file +

Properties

agg_param: AP
agg_result: AR
agg_shares: string[]
prep: PrepTestVector<M>[]
shares: number
verify_key: string
\ No newline at end of file diff --git a/interfaces/_divviup_vdaf._internal_.RunVdafArguments.html b/interfaces/_divviup_vdaf._internal_.RunVdafArguments.html index 3b6708577..608203315 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
\ 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
\ No newline at end of file diff --git a/modules/_divviup_dap._internal_.html b/modules/_divviup_dap._internal_.html index 4ed357761..30186700e 100644 --- a/modules/_divviup_dap._internal_.html +++ b/modules/_divviup_dap._internal_.html @@ -127,4 +127,4 @@ KemId SharedArrayBuffer SubtleCrypto -

Enumeration Members

TBD: 0
\ No newline at end of file +

Enumeration Members

TBD: 0
\ No newline at end of file diff --git a/types/_divviup_dap.KnownVdafSpec.html b/types/_divviup_dap.KnownVdafSpec.html index d49cc8288..1d52cbdd5 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]
\ No newline at end of file +KnownVdafSpec | Documentation
KnownVdafSpec: {
    [Key in KnownVdafNames]: Omit<{
        type: Key;
    } & ConstructorParameters<KnownVdafs[Key]>[0], "shares">
}[KnownVdafNames]
\ No newline at end of file diff --git a/types/_divviup_dap.VdafMeasurement.html b/types/_divviup_dap.VdafMeasurement.html index cce0ea61c..fffdb2740 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

\ No newline at end of file +VdafMeasurement | Documentation

Type alias VdafMeasurement<Spec>

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

Type Parameters

\ No newline at end of file diff --git a/types/_divviup_dap._internal_.Fetch.html b/types/_divviup_dap._internal_.Fetch.html index fa8efd7a5..f5cf1154e 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>

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

Type declaration

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

      Returns Promise<Response>

\ No newline at end of file diff --git a/types/_divviup_dap._internal_.KnownVdaf.html b/types/_divviup_dap._internal_.KnownVdaf.html index edffb9389..e4cd867d7 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

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

Type Parameters

\ No newline at end of file diff --git a/types/_divviup_dap._internal_.KnownVdafNames.html b/types/_divviup_dap._internal_.KnownVdafNames.html index 17e0500cc..f9bd89de1 100644 --- a/types/_divviup_dap._internal_.KnownVdafNames.html +++ b/types/_divviup_dap._internal_.KnownVdafNames.html @@ -1 +1 @@ -KnownVdafNames | Documentation
KnownVdafNames: keyof KnownVdafs
\ No newline at end of file +KnownVdafNames | Documentation
KnownVdafNames: keyof KnownVdafs
\ No newline at end of file diff --git a/types/_divviup_dap._internal_.ParseSource.html b/types/_divviup_dap._internal_.ParseSource.html index 813fc910d..9650a5ebe 100644 --- a/types/_divviup_dap._internal_.ParseSource.html +++ b/types/_divviup_dap._internal_.ParseSource.html @@ -1 +1 @@ -ParseSource | Documentation
ParseSource: Parser | ArrayBuffer | Buffer
\ No newline at end of file +ParseSource | Documentation
ParseSource: Parser | ArrayBuffer | Buffer
\ No newline at end of file diff --git a/types/_divviup_dap._internal_.VdafInstance.html b/types/_divviup_dap._internal_.VdafInstance.html index e01b17cab..b62ad51d2 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

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

Type Parameters

\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.AggregationParameter.html b/types/_divviup_prio3._internal_.AggregationParameter.html index 6f1b97876..38126aa65 100644 --- a/types/_divviup_prio3._internal_.AggregationParameter.html +++ b/types/_divviup_prio3._internal_.AggregationParameter.html @@ -1 +1 @@ -AggregationParameter | Documentation
AggregationParameter: null
\ No newline at end of file +AggregationParameter | Documentation
AggregationParameter: null
\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.AggregatorShare.html b/types/_divviup_prio3._internal_.AggregatorShare.html index 54a0d6b36..a51ce00e2 100644 --- a/types/_divviup_prio3._internal_.AggregatorShare.html +++ b/types/_divviup_prio3._internal_.AggregatorShare.html @@ -1 +1 @@ -AggregatorShare | Documentation
AggregatorShare: bigint[]
\ No newline at end of file +AggregatorShare | Documentation
AggregatorShare: bigint[]
\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.InputShare.html b/types/_divviup_prio3._internal_.InputShare.html index 5b5fdf936..a01a2cebf 100644 --- a/types/_divviup_prio3._internal_.InputShare.html +++ b/types/_divviup_prio3._internal_.InputShare.html @@ -1 +1 @@ -InputShare | Documentation
InputShare: {
    blind: Buffer;
    measurementShare: bigint[];
    proofsShare: bigint[];
    wireMeasurementShare: Buffer;
    wireProofShare: Buffer;
}

Type declaration

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

Type declaration

  • blind: Buffer
  • measurementShare: bigint[]
  • proofsShare: bigint[]
  • wireMeasurementShare: Buffer
  • wireProofShare: Buffer
\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.OutputShare.html b/types/_divviup_prio3._internal_.OutputShare.html index cdaaf2879..09d56405d 100644 --- a/types/_divviup_prio3._internal_.OutputShare.html +++ b/types/_divviup_prio3._internal_.OutputShare.html @@ -1 +1 @@ -OutputShare | Documentation
OutputShare: bigint[]
\ No newline at end of file +OutputShare | Documentation
OutputShare: bigint[]
\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.PreparationMessage.html b/types/_divviup_prio3._internal_.PreparationMessage.html index aca1416c0..5fba11730 100644 --- a/types/_divviup_prio3._internal_.PreparationMessage.html +++ b/types/_divviup_prio3._internal_.PreparationMessage.html @@ -1 +1 @@ -PreparationMessage | Documentation
PreparationMessage: {
    jointRand: Buffer;
}

Type declaration

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

Type declaration

\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.PreparationShare.html b/types/_divviup_prio3._internal_.PreparationShare.html index 246ea846e..53b6f1342 100644 --- a/types/_divviup_prio3._internal_.PreparationShare.html +++ b/types/_divviup_prio3._internal_.PreparationShare.html @@ -1 +1 @@ -PreparationShare | Documentation
PreparationShare: {
    jointRandomnessPart: Buffer;
    verifiersShare: bigint[];
}

Type declaration

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

Type declaration

  • jointRandomnessPart: Buffer
  • verifiersShare: bigint[]
\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.PreparationState.html b/types/_divviup_prio3._internal_.PreparationState.html index 563f602bd..19edbf99d 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

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

Type declaration

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

Type declaration

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

Type declaration

\ No newline at end of file diff --git a/types/_divviup_prio3._internal_.Share.html b/types/_divviup_prio3._internal_.Share.html index 027a0454a..a1cab340f 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

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

Type declaration

\ No newline at end of file diff --git a/variables/_divviup_vdaf.VDAF_VERSION.html b/variables/_divviup_vdaf.VDAF_VERSION.html index 1145d6e77..6307e42be 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-08" = "vdaf-08"
\ No newline at end of file +VDAF_VERSION | Documentation

Variable VDAF_VERSIONConst

VDAF_VERSION: "vdaf-08" = "vdaf-08"
\ No newline at end of file