Re: FAQ # 25

From: Alan Dechert <alan_at_openvotingconsortium_dot_org>
Date: Tue Dec 16 2003 - 15:04:38 CST

> > Makes sense. Is there a spec somewhere for how the vote is encoded
> > into the barcode?
>
> I think Alan produced a pretty good description on the list.
>
Well, I wrote this in response to a similar question from Karl:

http://gnosis.python-hosting.com/voting-project/November.2003/0209.html

> Basically, each bubble on the ballot is represented by one bit (this is
> not maximally concise, of course). Then that 116-bit number is
> converted to a 40-digit decimal number (I guess that's how the size
> works out). ......
>
Minor detail: the 116-bit number is converted to a 36 digit number.
Actually, it only takes 35 decimal digits maximum to convert the 116-bit
number but we have to add a leading zero because Character set C of Code 128
barcode encodes only pairs of digits.

The other 4 digits you are thinking of is the ballot ID.

Thanks.

Alan D.
==================================================================
= The content of this message, with the exception of any external
= quotations under fair use, are released to the Public Domain
==================================================================
Received on Wed Dec 31 23:17:13 2003

This archive was generated by hypermail 2.1.8 : Wed Dec 31 2003 - 23:17:19 CST