Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CiphertextSelection

Hierarchy

  • CiphertextSelection

Implements

Index

Constructors

Properties

ciphertext: ElGamalCiphertext
cryptoHash: ElementModQ
isPlaceholderSelection: boolean = false
selectionHash: ElementModQ
selectionId: string
selectionNonce?: ElementModQ
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