Re: [OVC-demo-team] BRP status report

From: Jan Karrman <jan_at_it_dot_uu_dot_se>
Date: Tue Mar 16 2004 - 04:02:32 CST

On Mon, 15 Mar 2004, Eron Lloyd wrote:

> The problem I have is any of the barcode strings I try to use cause an
> IndexError in getxml.py, whereas the sample I have from Jan does work. I'm

You probably omitted the obscuring part that I mentioned here:

  http://gnosis.python-hosting.com/voting-project/OVC-Demo/0240.html

namely this:

digits = votes2digits('b-something.xml')
print digits2votes(digits[:4] + obscure(digits[:4], digits[4:]))

When a barcode is generated, the number goes through a simple obscuring
since the barcode will be visible, and it shouldn't be possible to
recognize patterns in the barcode.

/Jan
==================================================================
= The content of this message, with the exception of any external
= quotations under fair use, are released to the Public Domain
==================================================================
Received on Thu Apr 1 02:40:27 2004

This archive was generated by hypermail 2.1.8 : Thu Apr 01 2004 - 02:40:36 CST