Interface ClientVdaf<Measurement>

interface ClientVdaf<Measurement> {
    nonceSize: number;
    randSize: number;
    rounds: number;
    shares: number;
    shardEncoded(
        measurement: Measurement,
        nonce: Buffer,
        rand: Buffer,
    ): Promise<{ inputShares: Buffer[]; publicShare: Buffer }>;
}

Type Parameters

  • Measurement

Properties

nonceSize: number
randSize: number
rounds: number
shares: number

Methods

  • Parameters

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