Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CiphertextContest

Hierarchy

  • CiphertextContest

Implements

Index

Constructors

Properties

ciphertextAccumulation: ElGamalCiphertext
contestHash: ElementModQ
contestId: string
contestNonce: ElementModQ
cryptoHash: ElementModQ
selections: CiphertextSelection[]
sequenceOrder: number

Used for ordering in a ballot to ensure various encryption primitives are deterministic. The sequence order must be unique and should be representative of how the items are represented on a template ballot in an external system. The sequence order is not required to be in the order in which they are displayed to a voter. Any acceptable range of integer values may be provided.

Accessors

  • get objectId(): string

Methods

Generated using TypeDoc