Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 765 Bytes

public Election--getChecksum.md

File metadata and controls

29 lines (17 loc) · 765 Bytes

public Election::getChecksum

Read it at the source

Description

public Election->getChecksum ( ): string

SHA-2 256 checksum of following internal data:

  • Candidates
  • Votes list & tags
  • Computed data (pairwise, algorithm cache, stats)
  • Class version (major version like 3.4)

Can be powerfull to check integrity and security of an election. Or working with serialized object.

Return value:

(string) SHA-2 256 bits Hexadecimal


Tutorial