Skip to content

Ballot encoding details #77

Description

@ruescasd

Clarify the steps as

  1. Encode a ballot as a mixed-radix representation
  2. Convert mixed-radix representation to integer
  3. Encode as a member of Gq + encrypt

Refer to horner's method

https://en.wikipedia.org/wiki/Horner%27s_method

  • Does the inverse process need to be documented?
  • Pending: how is this done with a non integer backend (eg ecc)

See also

http://www.numberworld.org/y-cruncher/internals/radix-conversion.html

https://www.cs.colostate.edu/~cs270/.Fall18/resources/NumberSystems.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions