# HG changeset patch # User Christian Urban # Date 1506170180 -3600 # Node ID 06f91010fe1e6e269a44c175c7f6bb9c8ce09f9d # Parent e1fcfba63a312bfad14b24d35f9c927780926175 updated diff -r e1fcfba63a31 -r 06f91010fe1e progs/estonia.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/progs/estonia.py Sat Sep 23 13:36:20 2017 +0100 @@ -0,0 +1,21 @@ +#!/usr/bin/python2.7 +# -*- coding: UTF8 -*- + +""" +Copyright: Eesti Vabariigi Valimiskomisjon +(Estonian National Electoral Committee), www.vvk.ee +Written in 2004-2013 by Cybernetica AS, www.cyber.ee + +This work is licensed under the Creative Commons +Attribution-NonCommercial-NoDerivs 3.0 Unported License. +To view a copy of this license, visit +http://creativecommons.org/licenses/by-nc-nd/3.0/. +""" + +def analyze(ik, vote, votebox): + + # TODO: implement security checks + # such as verifying the correct size + # of the encrypted vote + + return []