Hierarchy (View Summary)

  • Prio3<number, number[]>
    • Prio3Histogram

Constructors

Properties

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

    Returns Promise<TestVector<null, number, number[]>>

  • Parameters

    • measurement: number
    • nonce: Buffer
    • rand: Buffer

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

  • Parameters

    • measurement: number
    • nonce: Buffer
    • rand: Buffer

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

  • Parameters

    • aggregationParameter: null
    • measurements: number[]

    Returns Promise<number[]>

  • Parameters

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

    Returns number[]