Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SerializedEncryptedBallot

This data structure represents the successful results of encrypting a ballot, represented as a vanilla JavaScript object, suitable for converting to JSON text and transmitting to a server. Also included are the hash of the ballot (which can be used as a voter receipt) and the "seed" used to create the ballot (which allows the ballot ciphertext to be deterministically recreated from the plaintext; it also allows the entire ciphertext to be decrypted, so this normally shouldn't be passed across a network).

Hierarchy

  • SerializedEncryptedBallot

Index

Constructors

  • new SerializedEncryptedBallot(serializedEncryptedBallot: object, ballotHash: bigint, ballotSeed: bigint): SerializedEncryptedBallot

Properties

ballotHash: bigint
ballotSeed: bigint
serializedEncryptedBallot: object

Generated using TypeDoc