diff --git a/classes/_divviup_dap.DAPError.html b/classes/_divviup_dap.DAPError.html index c86638938..07c464f38 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 e22387e4f..4cfd5424c 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 1f221001c..6e2d742ba 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 ea499812c..658442d02 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 0927dd65b..628cf88c4 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 0d0ddeb20..ababe8a1f 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 329abffaf..b8a89482b 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 fb83e6046..f12289996 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 44b75f6db..5df9fcbf5 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 7738712af..992541ea0 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 b57c3a17a..204d10bcc 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 33fe2d12a..92ee5cd43 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 c08d68624..1a9d54130 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 646393bc1..326deba31 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 f08ae574b..3250cb31d 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 2012ae1d8..971f6bf48 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 46971c6b4..c83241d95 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 ebf781393..61fef49fb 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 5e49ec2ad..507cd904f 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 70041d812..11d033d32 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 d41caefa1..19ba8dfe8 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 886b3d98b..c86df7fda 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 14aac5c2f..30302aa6e 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 7c6277e9a..df6069f83 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 0e846f8e5..68120a912 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 cf7e42c0a..f86840646 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 3d4aeb922..821e055b8 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 26127cb91..5f26cd4a8 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 03a6c10a3..48c08b678 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 8928bda60..b7b52e637 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 66fde34b5..d5bfe6481 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 cf6963b9d..4b5341ede 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 4d1df08b4..edfaf89b4 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 770264243..8145475c2 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 619b0d7ac..902230d2a 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 bf3bf44ec..231de1915 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 dba1e472f..009acf785 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 7a53f5d31..99d9f8729 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 489aa1e09..b21a58e71 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 e18af9120..25e642c6e 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 19954ab1c..52d5e374c 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 31e6be679..539152bc0 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 b736b1821..d3c808885 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 a1a322905..7097442eb 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 34f4a8a76..5f59685f0 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 2c8615e27..6d728817e 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 53e9a9e4f..b3c641b77 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 82156c81b..5e9d929cc 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 d6dfe040c..8539c7104 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 79b797da9..6ec312985 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 7e96374be..950d7b0df 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 37a8eae9e..27ad5c8d1 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 0d00abc33..6496328a7 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 708abb3a3..9ce98babe 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 48b9a59ff..aaffb6829 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 14ace445c..b586e7f53 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 ef9b44bd4..c1dd47335 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 021679da5..8b8dfb448 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 5ced0f3bf..4dd3c2aa2 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 7a941d7f5..271fcf478 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 4142daf7a..e006286c4 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 b473f6fd4..da20fd6b8 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 150848d3d..02d8145b2 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