Hierarchy (View Summary)

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

Constructors

Properties

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

Methods

  • Parameters

    • usage: number

    Returns Buffer

  • Parameters

    • _aggregationParameter: null
    • previousAggregationParameters: null[]

    Returns boolean

  • Parameters

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

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

  • Parameters

    • measurement: number | bigint
    • nonce: Buffer
    • rand: Buffer

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

  • Parameters

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

    Returns Promise<number | bigint>