Hierarchy (View Summary)

  • Prio3<boolean, number>
    • Prio3Count

Constructors

  • Parameters

    • __namedParameters: { shares: number }

    Returns Prio3Count

Properties

flp: Flp<boolean, number>
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: boolean[];
          nonces?: Buffer[];
          rands?: Buffer[];
          verifyKey?: Buffer;
      }

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

  • Parameters

    • measurement: boolean
    • nonce: Buffer
    • rand: Buffer

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

  • Parameters

    • measurement: boolean
    • nonce: Buffer
    • rand: Buffer

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

  • Parameters

    • aggregationParameter: null
    • measurements: boolean[]

    Returns Promise<number>

  • Parameters

    • _aggregationParameter: null
    • aggregatorShares: AggregatorShare[]
    • measurementCount: number

    Returns number