Class Prio3<Measurement, AggregateResult>

Type Parameters

  • Measurement
  • AggregateResult

Hierarchy (View Summary)

Constructors

Properties

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

Methods

  • Parameters

    • usage: number

    Returns Buffer

  • Parameters

    • _: null

    Returns Buffer

  • Parameters

    • aggregatorShare: bigint[]

    Returns Buffer

  • Parameters

    • outputShare: bigint[]

    Returns string[]

  • Parameters

    • _aggregationParameter: null
    • previousAggregationParameters: null[]

    Returns boolean

  • Parameters

    • verifyKey: Buffer
    • aggregatorId: number
    • _aggregationParameter: null
    • nonce: Buffer
    • __namedParameters: PublicShare
    • __namedParameters: InputShare

    Returns Promise<
        {
            preparationShare: PreparationShare;
            preparationState: PreparationState;
        },
    >

  • Parameters

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

    Returns Promise<TestVector<null, Measurement, AggregateResult>>

  • Parameters

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