Skip to content

Commit

Permalink
added schema for election record using range Chaum-Pedersen proofs, e…
Browse files Browse the repository at this point in the history
…liminating placeholder selections, and supporting cumulative voting
  • Loading branch information
eionblanc committed Aug 18, 2022
1 parent bde2ac5 commit 8eda3a1
Show file tree
Hide file tree
Showing 61 changed files with 12,738 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
{
"object_id": "03a29d15-667c-4ac8-afd7-549f19b8e4eb",
"style_id": "jefferson-county-ballot-style",
"manifest_hash": "6A75",
"code_seed": "860A",
"contests": [
{
"object_id": "justice-supreme-court",
"sequence_order": 1,
"description_hash": "5E36",
"ballot_selections": [
{
"object_id": "john-adams-selection",
"sequence_order": 1,
"description_hash": "04C8",
"ciphertext": {
"pad": "9827361377EDC24E",
"data": "7F1F0F6F8B6838C4"
},
"crypto_hash": "AF69",
"nonce": "DA7A",
"proof": {
"commitments": [
"5D5C961C4C1605A0",
"C0584099EC2B399B",
"ACE3F8D780AA628E",
"324618010896B8D6"
],
"challenges": [
"9C90",
"6710",
"03AF"
],
"responses": [
"0524",
"B301"
],
"limit": 1,
"usage": "Prove value is within a given range (0, 1, ..., or limit)"
},
"selection_limit": 1
},
{
"object_id": "benjamin-franklin-selection",
"sequence_order": 2,
"description_hash": "84DC",
"ciphertext": {
"pad": "9EC967ABF788E843",
"data": "BED5086D920D7BF3"
},
"crypto_hash": "40A2",
"nonce": "4CA0",
"proof": {
"commitments": [
"D15F57B1AE4224AC",
"9CD80E94DCA20F71",
"A6F5B625583FB4E0",
"B6F54BCA29B00C98"
],
"challenges": [
"033D",
"686D",
"6BAA"
],
"responses": [
"AADC",
"C20B"
],
"limit": 1,
"usage": "Prove value is within a given range (0, 1, ..., or limit)"
},
"selection_limit": 1
},
{
"object_id": "john-hancock-selection",
"sequence_order": 3,
"description_hash": "663D",
"ciphertext": {
"pad": "541E127AE892775A",
"data": "AAA59CB54EEF106B"
},
"crypto_hash": "7189",
"nonce": "10B9",
"proof": {
"commitments": [
"851AEA5044020813",
"8CB5227EC05B256D",
"D82B4AA1E4002DAE",
"F6314BEDADE62E82"
],
"challenges": [
"D9CE",
"D493",
"AE70"
],
"responses": [
"48CC",
"1A03"
],
"limit": 1,
"usage": "Prove value is within a given range (0, 1, ..., or limit)"
},
"selection_limit": 1
},
{
"object_id": "write-in-selection",
"sequence_order": 4,
"description_hash": "4B6E",
"ciphertext": {
"pad": "BD8ABA6EDBD1B321",
"data": "F69B3010DB229FC0"
},
"crypto_hash": "68FC",
"nonce": "1943",
"proof": {
"commitments": [
"BE77206B15B2DD52",
"730CEB52E3617F5D",
"ABFDD820F52323A5",
"A01A003E11C7298F"
],
"challenges": [
"E70E",
"D7DB",
"BEF8"
],
"responses": [
"826F",
"B8F5"
],
"limit": 1,
"usage": "Prove value is within a given range (0, 1, ..., or limit)"
},
"selection_limit": 1
}
],
"ciphertext_accumulation": {
"pad": "B72241937D9370D5",
"data": "9BC56F8DE1314221"
},
"crypto_hash": "1093",
"contest_limit": 2,
"nonce": "81B4",
"proof": {
"commitments": [
"256044158B9269D6",
"E220EAFDA02AB0D7",
"7B3C4FDEE2885F4E",
"8B778F91715380F8",
"E403D103B2ABA799",
"5317AEB37F5B6F18"
],
"challenges": [
"DE0C",
"E848",
"1D03",
"E366"
],
"responses": [
"2F90",
"F6C5",
"259E"
],
"limit": 2,
"usage": "Prove value is within a given range (0, 1, ..., or limit)"
},
"extended_data": {
"pad": "336F225F8B06D9E4",
"data": "E847B487925AAEEC9C652D83383242F8ED0130B426C6988BF256E7BD42249E8AEDE7B2527CFF4A29346BD1033E389B45DE9CD7D0960F7C0DF448CCB3E91E901258E75A87C01C9B2391B5230EE3102D6EC59918A1E89AE9564DBBDB2E34CD9E8AF86C768280CC6D59ABFE561A7311EB9271042EFAE137822CC449B8F08181B4AD311964ABBCDB458F6183DE1E809FC95C2066FCB562A235C0580EA85A0D57C264AE9086EE78FA5E672C6909856BA4526C3D4E50AF50E79CC878BC765886E76C03DF44352C7E3F941C4F638D5BDD8EF0158C53828BC51492D3985F68FA5B0B8E55B192E8A6331FFA7D2E6A475FE7A741EFEA201696C97752CC85341ED4E15649EA23AECEAEDC1F0DAD1555CDF033C4D8F42F57CF893344D08EA5CAEB681FE2B2CCDCBC25A55B2EE66011B11D6D1A8DB814EBEB949E3205532DEDB31659377D6F7EF2E90E238100EA9698D96F4B79EE91CC39C40590A08D5F092D4B4EB1A4EE2D7ABD219B1512C4FFB36E18E30BA8E6A9F23C3343C3C79E1C4F7CA61C0B0A53D18B6329E46646E0FB130C20F58A6FE6858942102AA5EC567579AD9AF2F91F3DACDD29FA99556BFB3F33302C7CCCC96DC3AD8B5434F181FD7134DF73D0E9ADFAA3782FF3AFA1FF4DB940A6E8F1BD1BB0588E537558224119ECD3C260C6AE50CFB18686066CAE9C508E31F20D2596D120EF26A6E51623F26203CCFB7B2A36C9BBD9DD",
"mac": "BCC5FCFCDD61D4CDF004D22470EBEF22CB731973E73F2CE91AE09F7B55AB80A2"
}
}
],
"code": "5418",
"timestamp": 1660841181,
"crypto_hash": "81DC",
"nonce": "FA8D"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
{
"object_id": "1048ce32-f1b1-4b05-b7fb-8c615ac842ee",
"style_id": "jefferson-county-ballot-style",
"manifest_hash": "6A75",
"code_seed": "A182",
"contests": [
{
"object_id": "justice-supreme-court",
"sequence_order": 1,
"description_hash": "5E36",
"ballot_selections": [
{
"object_id": "john-adams-selection",
"sequence_order": 1,
"description_hash": "04C8",
"ciphertext": {
"pad": "224CA5BEEA311CCB",
"data": "5D68ED171CFF7093"
},
"crypto_hash": "4A21",
"nonce": "92F1",
"proof": {
"commitments": [
"B8B36BB42A2CFB71",
"DB2E940C99EA7E94",
"D10BE7B2A957A8B2",
"30035B6F459C9F8D"
],
"challenges": [
"A15F",
"1CCA",
"BE29"
],
"responses": [
"6C21",
"64DC"
],
"limit": 1,
"usage": "Prove value is within a given range (0, 1, ..., or limit)"
},
"selection_limit": 1
},
{
"object_id": "benjamin-franklin-selection",
"sequence_order": 2,
"description_hash": "84DC",
"ciphertext": {
"pad": "80B69981C3860C47",
"data": "6A5714AB9D04A07C"
},
"crypto_hash": "9B61",
"nonce": "02CE",
"proof": {
"commitments": [
"41D6AEF3A93B2A63",
"5B5BDECF09491F47",
"E70ADBD6D284D6A5",
"303D8D05044AFADD"
],
"challenges": [
"0525",
"37E8",
"3D0D"
],
"responses": [
"CD4F",
"DDF0"
],
"limit": 1,
"usage": "Prove value is within a given range (0, 1, ..., or limit)"
},
"selection_limit": 1
},
{
"object_id": "john-hancock-selection",
"sequence_order": 3,
"description_hash": "663D",
"ciphertext": {
"pad": "6801FBC384BB7DD4",
"data": "441F403D1718AC81"
},
"crypto_hash": "5220",
"nonce": "834C",
"proof": {
"commitments": [
"89E9FA145CE54F6B",
"9433BFC4E8B78C28",
"ABBEBAD0293463BE",
"92DE0045D8178A97"
],
"challenges": [
"FFC0",
"B54A",
"B519"
],
"responses": [
"D256",
"2D68"
],
"limit": 1,
"usage": "Prove value is within a given range (0, 1, ..., or limit)"
},
"selection_limit": 1
},
{
"object_id": "write-in-selection",
"sequence_order": 4,
"description_hash": "4B6E",
"ciphertext": {
"pad": "DFCC3FE0B6B5A776",
"data": "10B6EAB7581672D8"
},
"crypto_hash": "F00B",
"nonce": "2AC7",
"proof": {
"commitments": [
"9FF426EB4FA47D21",
"5AC19DB657C90B8A",
"27D18AEE26C803ED",
"BC8727AFAB015B9D"
],
"challenges": [
"8587",
"3819",
"BDA0"
],
"responses": [
"31A3",
"51D7"
],
"limit": 1,
"usage": "Prove value is within a given range (0, 1, ..., or limit)"
},
"selection_limit": 1
}
],
"ciphertext_accumulation": {
"pad": "0DE845F681F1E5BE",
"data": "716E11485260EE2D"
},
"crypto_hash": "7478",
"contest_limit": 2,
"nonce": "3FA1",
"proof": {
"commitments": [
"3E516081D7072D26",
"ADCF8301B91EEC73",
"DCAFFC4469A22D21",
"B810FA5103179E51",
"F2508E8068DF93F2",
"F744C6D68DB3C5AC"
],
"challenges": [
"187D",
"710A",
"3BA6",
"C52D"
],
"responses": [
"939E",
"A8C4",
"8BF2"
],
"limit": 2,
"usage": "Prove value is within a given range (0, 1, ..., or limit)"
},
"extended_data": {
"pad": "AD6C58A1FD61571D",
"data": "4228B05F754D966034302C9F24B6D4F4E19A5007B829735E4FD57BA095B7E342F196D37E8ECEACC884DA1B31B1877CAA49772CFE42C12F9423F27C5A9AA3F2D0B0A79FEDA852C95927C64E43AC6F8EEE4027C752A24D65DD878ECDD4D8402AF8CB6EB58DD67B4ABB7A60C9207C85CCCD65D66E021E5775B117B5DF3E20655FBE2EAC322F0A2AA3735109FEBC497FD1BDFA9A2B152815CED1978E37850FF2548E31F90F8DC0598FD2022DC13921D6D196FD5E7F71516224615CEC792779AF373B040F728BF5D7B6DE98FD13D0450D71D6ABA3E44684D93DEAF67E2BF2EF1BE3898555E186CA2AD147C956D481356C49323F566AB91E53BE63B7D613E8359356870A85634F1536294E625C12995EA04B5726BE6A66C26A750E0BE6C6991FCF23E8F28BCE3DB90820954C0A0D5D4E846660A934D787303FA0980FE543448F126A9CA52D4011E8593B2112F7ACF099D09CF253C30F9062BEE1922D1884B5856F50FE652F852DEEA24F0BCEAD3380CE22A0BA4071941F04D25C1445DBAA9070013B2F40F4511FFB38640C7881B1BDDD68290901A4C7719616916D77D363B470707C8C077EC160CF752D704DFF74BB8802662B00C1D2A3E0ECDC746F454B21A9BF8CCB02C1F540A6061FCEA3E94E4173BBB5E85F22C466B206764C49AC68BD0621146A0A7EE0B3296F9E5574CDFEC1A62D457B2E56674B384B03D09EA2E5FD424C63C5",
"mac": "3EBE4AB51E7A9198501982F9FD29BFA5DEF00B7364BBDA0BAE20E08CFF189847"
}
}
],
"code": "860A",
"timestamp": 1660841181,
"crypto_hash": "638D",
"nonce": "E209"
}
Loading

0 comments on commit 8eda3a1

Please sign in to comment.