Clarify the steps as
- Encode a ballot as a mixed-radix representation
- Convert mixed-radix representation to integer
- 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
Clarify the steps as
Refer to horner's method
https://en.wikipedia.org/wiki/Horner%27s_method
See also
http://www.numberworld.org/y-cruncher/internals/radix-conversion.html
https://www.cs.colostate.edu/~cs270/.Fall18/resources/NumberSystems.pdf