diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_03a29d15-667c-4ac8-afd7-549f19b8e4eb.json b/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_03a29d15-667c-4ac8-afd7-549f19b8e4eb.json new file mode 100644 index 00000000..c948b944 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_03a29d15-667c-4ac8-afd7-549f19b8e4eb.json @@ -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" +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_1048ce32-f1b1-4b05-b7fb-8c615ac842ee.json b/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_1048ce32-f1b1-4b05-b7fb-8c615ac842ee.json new file mode 100644 index 00000000..a5cf8b76 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_1048ce32-f1b1-4b05-b7fb-8c615ac842ee.json @@ -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" +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_25a7111b-4334-425a-87c1-f7a49f42b3a2.json b/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_25a7111b-4334-425a-87c1-f7a49f42b3a2.json new file mode 100644 index 00000000..0b5b507d --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_25a7111b-4334-425a-87c1-f7a49f42b3a2.json @@ -0,0 +1,178 @@ +{ + "object_id": "25a7111b-4334-425a-87c1-f7a49f42b3a2", + "style_id": "jefferson-county-ballot-style", + "manifest_hash": "6A75", + "code_seed": "5418", + "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": "1A9500462A8D7F79", + "data": "1DF98132B7F4E9D6" + }, + "crypto_hash": "C855", + "nonce": "C184", + "proof": { + "commitments": [ + "5197CE57B12CAFAB", + "4C613EB4DA7AABC8", + "9EBED2534EBC19E4", + "5C73B8A33090DA72" + ], + "challenges": [ + "A346", + "A15C", + "44B1" + ], + "responses": [ + "1904", + "28FF" + ], + "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": "D69A737168017939", + "data": "F0D68DAF372D6BAB" + }, + "crypto_hash": "AA19", + "nonce": "BB", + "proof": { + "commitments": [ + "4DB6926EB5BEC47C", + "43EB066BDCB960C1", + "9BC073C186380543", + "2A690352CAB96B75" + ], + "challenges": [ + "D83A", + "BCC1", + "950A" + ], + "responses": [ + "710B", + "15EB" + ], + "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": "471717E5E5D00D01", + "data": "2FB0ACD6FD9C9579" + }, + "crypto_hash": "C8B4", + "nonce": "72E7", + "proof": { + "commitments": [ + "4ACB700A11B65DAE", + "28D3A86130E6C22F", + "CE885A2F13FCADC3", + "CFD2791BF4B97109" + ], + "challenges": [ + "A830", + "6292", + "0AD1" + ], + "responses": [ + "75CD", + "4016" + ], + "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": "2654D83F7A2C276D", + "data": "962E88A421C1B6EC" + }, + "crypto_hash": "191A", + "nonce": "14CA", + "proof": { + "commitments": [ + "35410DF01B5A88CB", + "63C7C0CD57AB728A", + "89CE188AA4FC13F2", + "CAE3DDE8800AB865" + ], + "challenges": [ + "AC86", + "4206", + "EE8C" + ], + "responses": [ + "3A81", + "35A2" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + } + ], + "ciphertext_accumulation": { + "pad": "E05A155828E85231", + "data": "1FEC79D42B4EBB09" + }, + "crypto_hash": "0D80", + "contest_limit": 2, + "nonce": "6F54", + "proof": { + "commitments": [ + "9DF1E45B081EFAEF", + "CF39E4287409030C", + "7F15520182FA7B6C", + "DEF370702E0EE550", + "EAE8F1358CCB1CF8", + "9BC43BF67C2006BA" + ], + "challenges": [ + "8A63", + "D4D9", + "A3ED", + "0347" + ], + "responses": [ + "65F3", + "B0A7", + "5476" + ], + "limit": 2, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "79088301C2059AC4", + "data": "BFE383D964F93AE18C6E2E8F22B5F3EF9D9E4B46E140DB23A0E531B7CC8FCFB9494B729A39122CB3DF829DE29227BA25BE11570D0D2EAE10270E931CA8150E70DC49617605289DEBB82693F102AFBE66BEE84E8E0C2B0BEFD401F9FB37633ECEBFB7A7410C61F94136E9FCE2885C89DF06FCBBB3076F64E792BC4B53FFCA0744423BFCE17954FBE3720FFBF0C61F1E290F5448458364E05E60C8D6C073489B2E9CFC337C7CC7EE400E86E3A33B22F2FB0F432A17E09DC28EF7309767BCC7F3760190EF4D23E02BA9F55398494C73E5A4FC6600D62C78547F87E95C8279316B2717664FAD9284E031E9C69A36DD8A742A3782D4C91551812BF128C00DD9300336176D825062D28BA06FEC49E5C8E78A8E2B0927FDC81121A799F61C8E5E4B22E0567F343872980EA0951E0245FB8F658D973B4A1C42ACAFED130A79FD9CA9A8245F7EB530CDC8C5214E866BE86E0CF7993AE6D12E7279CCD8949085153A3585D292CD1DD658518EFA5DD5D906771AA329E882022C5A3EE6A355CBF8B07E1125EA8F1460A362498741BF051F93D3CBB0249E1BF16B808318E70A67CFFC0A338EA30F4A0AE0A82A6EF920451D4F4E3697B73083A0436D173EFC5D35D69FAAE1FBF6E4389E0FBBB097F31ABC6A11F4AA5654915E638751E221929D44E18342D9EB05BAA9198062FFACDF80F050C4AFA995CDCC2A7CFC94C67CE08C73D0DF333894A1", + "mac": "1D897121FEDF678F098D9F9C92AA1A1EE1119DC36EE1E663C5F03DB8FC03950C" + } + } + ], + "code": "3F87", + "timestamp": 1660841182, + "crypto_hash": "0302", + "nonce": "CD4F" +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_5a150c74-a2cb-47f6-b575-165ba8a4ce53.json b/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_5a150c74-a2cb-47f6-b575-165ba8a4ce53.json new file mode 100644 index 00000000..f6383982 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_5a150c74-a2cb-47f6-b575-165ba8a4ce53.json @@ -0,0 +1,480 @@ +{ + "object_id": "5a150c74-a2cb-47f6-b575-165ba8a4ce53", + "style_id": "harrison-township-ballot-style", + "manifest_hash": "6A75", + "code_seed": "5ACA", + "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": "70E943AF3CA26B4A", + "data": "082DE6EE55213CA4" + }, + "crypto_hash": "689A", + "nonce": "5418", + "proof": { + "commitments": [ + "3A6A58662EF31364", + "4880CB326A6E5AA4", + "80C7F0DE944D105E", + "5ED809F8CAD07407" + ], + "challenges": [ + "9428", + "464A", + "DA72" + ], + "responses": [ + "6543", + "EA3D" + ], + "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": "F34685AB1F4B6370", + "data": "459BC04611CD2371" + }, + "crypto_hash": "EB50", + "nonce": "DA87", + "proof": { + "commitments": [ + "AEE400254B835B12", + "ECF40734591FD023", + "E83DABCB848F89B9", + "673E550F88C8C0F7" + ], + "challenges": [ + "32BA", + "414D", + "7407" + ], + "responses": [ + "51D7", + "CA85" + ], + "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": "075B794E74321640", + "data": "D562401575F77956" + }, + "crypto_hash": "B5D4", + "nonce": "EC86", + "proof": { + "commitments": [ + "BD3F9867E40A2645", + "65F212A4E5CF3DF3", + "28BCEB76CB17F566", + "AB3A43AE9BC794CF" + ], + "challenges": [ + "6F90", + "479B", + "B72B" + ], + "responses": [ + "CA3F", + "1716" + ], + "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": "48F38F96EAB98A4A", + "data": "7A4F4F3540E89674" + }, + "crypto_hash": "EA20", + "nonce": "2319", + "proof": { + "commitments": [ + "61D2E409CDE11A88", + "2FFE3B7038F77B94", + "54229984F50047FD", + "F85D784EDB970BCD" + ], + "challenges": [ + "B615", + "8C1A", + "423E" + ], + "responses": [ + "3900", + "578D" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + } + ], + "ciphertext_accumulation": { + "pad": "9E8C4B2333654805", + "data": "BBBDE76D9B9E4AA2" + }, + "crypto_hash": "7C22", + "contest_limit": 2, + "nonce": "ED99", + "proof": { + "commitments": [ + "9812962B7BD067D7", + "E7A65AEDD12E4783", + "17ECBF61F492F0ED", + "89AF181EBA595BEE", + "B68A88DB09E5E153", + "925485F8ACAC85D9" + ], + "challenges": [ + "2F34", + "155B", + "C28E", + "072C" + ], + "responses": [ + "F0CD", + "88E1", + "5C3E" + ], + "limit": 2, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "8D4C87350E2D06E0", + "data": "BFD3B9A2A56BF9FE7040C20640F702DF021DB96BFE2CE92784514AEEDF096A0A04244DAAF0E1FECD18C2311342A591688FA9AF22AA8E2F2EF7B4F3714BE8F889B712CA5250F54A4EB7D0B3B4E9F3DD811422A3F77B2653690AE8455674F74F7DAB7EA39FAE579E42933C286DECED83BFA71CAA66EFCB79D49D8E25CC90824CACC2E30F8F7789AAC8AC8B3319409E3B01BF891D4FB1D67FBCC4B004F31581C0947157F2518D292DA9491CC2037A6DB83D9721D352F9E6E4051AE89DE1BE174B4E0FC2BBBF58DD99C052172C15801E40F5B6C9B64A6102759C02797BA03DAF6AA3971A7B097A33E6486E815BA934BA718B7A6162F6275369E759B035EB4D4C5D5FD1DA64D2B79FBB139734569CB972374D4C87659B1E2F63590439A3E287D9B05A134CC042AC17F89301B6539AA228F479539F59BD3550ADF37B9FFCA8FDC1C97B246D2A038CE69DC7D3D2521969E625D03129D83F8F821B438CC34E0666CA26BCAFACB220F5349E25A8B49E965A9BF152EACB39D1B4BD72B85A01FAB930C23259A0D367CD894A3F06D75BA26CEA3B8E0F4D4F08F20A6FA8AF3530D328D0C8492509708AA5A6D896EB952FAACEF4313D78B47A0B9960F69D1EA6F492D79F194DEBFC8E5CA637CD3BA4569D8C429043D48B2DDBAB862065A9F9D2C1FAA71A3C4641A9980EFC595A901A0A9CCF1B9ECAC76D152823C135A8F2CC69E97F40E8DFFA37", + "mac": "162993B5405ACCA394DC71F3E74727A3711672006FA3FFD442C5D7685C6BDBBF" + } + }, + { + "object_id": "referendum-pineapple", + "sequence_order": 2, + "description_hash": "FC79", + "ballot_selections": [ + { + "object_id": "referendum-pineapple-affirmative-selection", + "sequence_order": 1, + "description_hash": "B676", + "ciphertext": { + "pad": "948B5934E5D86F5B", + "data": "BA5C85D8546D79E8" + }, + "crypto_hash": "1C20", + "nonce": "768C", + "proof": { + "commitments": [ + "0C5AE792C6349760", + "117F2C9922A6B6B4", + "7CB19ECCC2C78EE9", + "0E91945593C317C6" + ], + "challenges": [ + "A133", + "60D0", + "0212" + ], + "responses": [ + "B1C6", + "AE18" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + }, + { + "object_id": "referendum-pineapple-negative-selection", + "sequence_order": 2, + "description_hash": "ADE5", + "ciphertext": { + "pad": "96F587657DB15203", + "data": "E24D92C22889FF09" + }, + "crypto_hash": "7351", + "nonce": "606B", + "proof": { + "commitments": [ + "16FD86CE77EDC8E9", + "C6CC36889188917C", + "71200DE5D7887DC3", + "05399F4EDAE0BB9E" + ], + "challenges": [ + "7D05", + "482A", + "C52F" + ], + "responses": [ + "0CA8", + "90CB" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + } + ], + "ciphertext_accumulation": { + "pad": "419F82EF33CB3C90", + "data": "54964F9686F9C15C" + }, + "crypto_hash": "745B", + "contest_limit": 1, + "nonce": "5901", + "proof": { + "commitments": [ + "ABC714A78AFE429B", + "877F5B3B841E178F", + "B1C28C0ECFE5B92A", + "397972A0ECE39540" + ], + "challenges": [ + "CB3F", + "DDC6", + "A914" + ], + "responses": [ + "6100", + "1FCA" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "168BCD90391D36CC", + "data": "3080A2AF8F2DF6988F30E669AFE69E795BE82F309CEDB4F5165DC61C82E6F9B49EEA6D8CD268DC5E00A8942AC4A1DE7F65EC955DED00AF3A1991C1F904A642023BCF5C51E5245D61EA6ED59B22C769A5FC01E51640ADB28EDA22196A035369E129B7007BBC0950183179C893C5DC35CB7BDF3C62E02D9DEE4B0A46F3BBE98525E95BFDBB919CEB46A4340C343AC17E4471523718C85271259A90A51BB350CA95AEACF41180D8610B50A2C3EB7B9043B4F0DC918AE2A67C2087713C958CEE1537F4014A5D107DF01F09B9D5FFA9109670AEDF85E371C668E59A58B5A55F096B0E481332B98D69D8AEB26193890CEAF719D63B977B7D75419BD5E2756767D67B73EC5B44BF2E1248AE66576650B31133B202E5DD69EA7983DC45CBC7CDD8DF7FC862E0E9A4642CFFEB5CDDD91340C87C7C337CA101DB1D5059CCDAC8E2AE92ED8E33E24D06D8667070EEF841692A3B73E581CCB306F35990BB39382A5FCDCB34F24E818A28F9AED3F3415B95F8AE3A6F98C0C459B17C24183EFB078B2932D23BB765AF501FC963B6D64986DD8665281FCCB762D0D8A1DF183D4B58BADA0AE63AF3786FC64D620C5D6A5DCE09FCC0A75F1706C8CB83753C7DF6447C73447C73DC3E54AB415B282E3F47198BCEE51BD10DB76AAD0C8E69B6EB6711BE9FAFDB8B18DFB97DA33FA134EE2A586073A1B97FF6966C2D77517EE4B1173582D6F20FB7F10B", + "mac": "CEC55965226402BA2017C118074970632000CA354D16D54371E1BBB9B055BC06" + } + }, + { + "object_id": "official-bagel-style", + "sequence_order": 3, + "description_hash": "DE8C", + "ballot_selections": [ + { + "object_id": "new-york-style-selection", + "sequence_order": 1, + "description_hash": "F382", + "ciphertext": { + "pad": "BE675E3C46202596", + "data": "4719BAF22792C8FA" + }, + "crypto_hash": "23FD", + "nonce": "3552", + "proof": { + "commitments": [ + "4FB6D1CC8BF86D2C", + "656255DBDB8F2961", + "373B211B79F3A679", + "3699C5EFDC6D902D", + "C1E04B09E9FADAFF", + "467649F9AF3185BE", + "BDF9F54E191D8DAE", + "B71DD7D9FFCD769C" + ], + "challenges": [ + "0631", + "1886", + "5522", + "CD53", + "413B" + ], + "responses": [ + "6EE2", + "DDD1", + "9BB4", + "B0BA" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "montreal-style-selection", + "sequence_order": 2, + "description_hash": "5D9A", + "ciphertext": { + "pad": "B6BF141B3DC634D8", + "data": "188965F0A3D27523" + }, + "crypto_hash": "ECCF", + "nonce": "D5D6", + "proof": { + "commitments": [ + "1B59F170D95A6BBD", + "C377B856E110E8C7", + "E1ECDC0548ADF2C8", + "B9B59A1ACF2C5F42", + "F54566DA8CCB8F71", + "52E015B660C95BD3", + "D14897C85E6C763B", + "23E6AD6169EFDCA3" + ], + "challenges": [ + "2AD1", + "7B6D", + "40E6", + "84BE", + "6BF1" + ], + "responses": [ + "B6CF", + "AE90", + "5F3C", + "8FE2" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "st-louis-style-selection", + "sequence_order": 3, + "description_hash": "05ED", + "ciphertext": { + "pad": "432679540266623B", + "data": "12B623ED7839BFCC" + }, + "crypto_hash": "D6AF", + "nonce": "5C9C", + "proof": { + "commitments": [ + "A30F3FDF8560C484", + "C0A3CD22307FAE25", + "64B77D1820B1DC0E", + "D0C56FC0F29CB527", + "7ED914D8029F9FA3", + "FE31E47C83D98187", + "EF792BE92DD4D2BE", + "5ACB3AAA07CAAFF4" + ], + "challenges": [ + "5CD1", + "3289", + "9FDC", + "4D27", + "7C6C" + ], + "responses": [ + "BB2C", + "548B", + "4256", + "DE4A" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "write-in-style-selection", + "sequence_order": 4, + "description_hash": "E9BF", + "ciphertext": { + "pad": "2A8E08F17726AE77", + "data": "8DD6076433970553" + }, + "crypto_hash": "2029", + "nonce": "D115", + "proof": { + "commitments": [ + "A5D1557A73448BF2", + "6DD0C412569D13F3", + "C619040A521C2829", + "05EDD3F8F959F11F", + "49D32DF392B882E1", + "61730F193BF8A91E", + "0EEE55AC7E59D45D", + "72E6AA187359B2D3" + ], + "challenges": [ + "8851", + "3910", + "D934", + "3870", + "D314" + ], + "responses": [ + "2BE0", + "EB80", + "5CB8", + "3C4B" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + } + ], + "ciphertext_accumulation": { + "pad": "77D99F1E8EA1E92B", + "data": "ACA6B76FB7726764" + }, + "crypto_hash": "7244", + "contest_limit": 3, + "nonce": "3FED", + "proof": { + "commitments": [ + "DAF60E7192CEFBBB", + "174069155FC69747", + "A600685BC919317E", + "9D0B81FEF02EC4A4", + "216F61F5528710CB", + "59581F74AE9A0A64", + "0604A2A50DC3DD9C", + "0C8FB80A83E20A51" + ], + "challenges": [ + "9ECE", + "4AB5", + "D4D2", + "BF57", + "7DCA" + ], + "responses": [ + "1686", + "7CEF", + "4442", + "F38A" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "51C557DCFD078CC7", + "data": "08718E9CD94082F2F7F5FF81ADF1D665E39AF28677109EB0E575D214E78FA2916BC815E6185A9C1F4ABA4344393092675DAA35FF929A154639AF3194B69838A5A228D64540D65DFC53F8144DB506DF310F4FD2CE42DBC805814073FD40C532BA6C86392E1B218F1E5F24AFC7D1FC248375287A400E8B95548A645CD4A5A421A5A32CB831336B92F31AD4C3C5E0B00B87D8904F332B57F174AF9AD1BEFB38DB6FFBD0104268AC504FBF1C63927A42BC9E61CE8FD9CBAC1FF658A301522AFA69D2AC27065573FFAA25A3AF73F34ADE93ADA19A0EC870EB6E215FD3BA76431A1AE2D2FDD1050C731753929BDC1AFDB36AA4610515169D07FB5E1CBFF8A986B66CD94C331F23BCD827BF4EB3697E48CBFF40BA5DBBD2754EF5E69CF101E7868AB9E2AEB316984A7EDAB591C76E2D00FA0639C565DF0CF9ABF236601EB49BB3B7FFFA2E674A109CF1EAC0420855F089C49306071E9C4644FE077768D29BFFA5867C1E1BD08991E2D87BD58644B3AD229281F02A0393CCBEB778DBE636D459F6D8A41B0698F10993116EC45DBD4245256ED9E840555D95DD4D2CD987555C781670FD3F8A8E997E832882D71C548C84BA65CC45B8D7ED12C7DCC723157FEF17DE8F84FD84A361D194709EFCC5BD793D5E3879DD1526614E57802832F255B8433DE8548F63EF0711386597F2510D65CF8C849E2F87B52587304247CB029231FC5697533A", + "mac": "5F0C9FC7CA65B817A46CF09C960E7C45D21B6BF0BF86D4922168D440D6E9AC32" + } + } + ], + "code": "9786", + "timestamp": 1660841183, + "crypto_hash": "91A9", + "nonce": "8B88" +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58.json b/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58.json new file mode 100644 index 00000000..9fdf269e --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58.json @@ -0,0 +1,480 @@ +{ + "object_id": "69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58", + "style_id": "harrison-township-ballot-style", + "manifest_hash": "6A75", + "code_seed": "3F87", + "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": "7A54021027A6C306", + "data": "362FF8E5C2ECBD17" + }, + "crypto_hash": "2442", + "nonce": "610F", + "proof": { + "commitments": [ + "FC6819991BB3F886", + "CAE42BF6CE0711C3", + "2F64A3AC66669A64", + "C4375A3FAB94B15A" + ], + "challenges": [ + "70C0", + "2AE3", + "9BA3" + ], + "responses": [ + "7806", + "A608" + ], + "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": "10870EACE0C15267", + "data": "8E64BE4E4A5E2C2E" + }, + "crypto_hash": "C870", + "nonce": "5246", + "proof": { + "commitments": [ + "CC2A72A234233D87", + "FD38CF8B82126927", + "E8E87D0874F056D3", + "D21B63C49C2C6A23" + ], + "challenges": [ + "5E80", + "F516", + "53A5" + ], + "responses": [ + "D303", + "3389" + ], + "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": "0C3E1125A28595E7", + "data": "68EE54426D887CEF" + }, + "crypto_hash": "0903", + "nonce": "E187", + "proof": { + "commitments": [ + "97141E21470DD9D1", + "9AF34ED9022E4FFF", + "A3BB4512D17C1214", + "496DEF44606C74AF" + ], + "challenges": [ + "0143", + "5985", + "5AC8" + ], + "responses": [ + "8FB1", + "8E" + ], + "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": "74FBC1E3F2818B64", + "data": "B6C6A5F08300195C" + }, + "crypto_hash": "51A7", + "nonce": "0402", + "proof": { + "commitments": [ + "4E8E7CA270553AB0", + "4AA0B15CC078123C", + "EBB5F834ED89CEE4", + "BE42C48F535F6E20" + ], + "challenges": [ + "876D", + "91D8", + "1954" + ], + "responses": [ + "C97F", + "7B88" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + } + ], + "ciphertext_accumulation": { + "pad": "B6FF42DE1A206FE9", + "data": "D0BF608C44A3F027" + }, + "crypto_hash": "B1FA", + "contest_limit": 2, + "nonce": "F0C5", + "proof": { + "commitments": [ + "B23869FDF45A4CB0", + "FFBA886C957A8ECA", + "A969A9EF93238558", + "C47409963446668F", + "4986C19AC84EF05A", + "69CC4F2E39477B4F" + ], + "challenges": [ + "784E", + "DF3D", + "8FDC", + "E776" + ], + "responses": [ + "3C10", + "F557", + "0CDF" + ], + "limit": 2, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "6886276609A13161", + "data": "FF4D9DDAC2883BD3FD5B734FC06B676F89D25989DD84E792AEC98B6460EB9524D8FA1BFF9774A50FAEEB10F345FF1BFA7E3010ACFCBDDA5798F6EBDD577A1797F9AAA11524E880BD381AF554A69F330E97A28469B1685AE42B84DCDDE106DB95DDC231A0A90AC32F4E713306974933118211555BD951E83D2194E2C81C82ADDE01AB8CC0A26C7B4B666607CF108C47884D7F915889AF7B44A9D05C4D590D2B1A787558AF492DCE82F305967A94198BDE201E4CA6D6ADE2F90FCD10385C1C7B5B9E416799AE06DB0D6CD0125DFB1467E121FEFA579AF6E1F5EE113D04E1F582B6AD5F218FE96F02CBF055975010C7D1AFC22097212C0348F2644DE159BED9C50141A92C6AA3E13557DDFFD9545F91CB7A234DA7DF23F917BAC5A510658B7E0876BAB40B6163299B9AA32B97E409D97B1570BFAAC783A6008D4EAB6C30C97A146FCF7F780204B9D6E42993696F280385B27FACBB2C165C8185AF11E63E6969E6E8D9E9B4442D08423601A7097496D5D22061D7344F2FC6BF59E070D7AD03D0944291DDC9A5640CDA9E94F5E02458104E249EDD2C866E0954F6FBAC3A1B6B7D13182AE654B15ADAB0E82E9EE0829C238EA675BC8DE6E478A0ECF24D128C4D7B343504D11B40D87519EDF31BF6839B93EE23F23A6E8A93C1D91EB54AEAFC00126E933CA6BF64C8AF2D4E331951E37CF8C28CAE0ECD49E617E4A9913A26A26BB0B999", + "mac": "015B52B76E249D7143F4C57061617A36DBD9CBD23B9993A6FCAE4C369ADFAA48" + } + }, + { + "object_id": "referendum-pineapple", + "sequence_order": 2, + "description_hash": "FC79", + "ballot_selections": [ + { + "object_id": "referendum-pineapple-affirmative-selection", + "sequence_order": 1, + "description_hash": "B676", + "ciphertext": { + "pad": "6E513FDB8A47FE3B", + "data": "80224911FCFBB6CF" + }, + "crypto_hash": "DFF2", + "nonce": "91D1", + "proof": { + "commitments": [ + "BD1FEF9262EFBE8A", + "029B2EBE77672A88", + "E3521C29EA148AEF", + "774A078813B45129" + ], + "challenges": [ + "850D", + "4FBB", + "D4C8" + ], + "responses": [ + "736B", + "1295" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + }, + { + "object_id": "referendum-pineapple-negative-selection", + "sequence_order": 2, + "description_hash": "ADE5", + "ciphertext": { + "pad": "3AC209CBAB1C6C4D", + "data": "5223A78DA86CF74B" + }, + "crypto_hash": "D749", + "nonce": "8C92", + "proof": { + "commitments": [ + "5C6BAE5320D504B1", + "0B15716885D7462A", + "F8A3A52F7CF4AFFC", + "527F5FB0D2FFD843" + ], + "challenges": [ + "34EA", + "1F2D", + "5417" + ], + "responses": [ + "9826", + "B5E9" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + } + ], + "ciphertext_accumulation": { + "pad": "F8EDD893DEF2A667", + "data": "892D0C1B9D511908" + }, + "crypto_hash": "0211", + "contest_limit": 1, + "nonce": "E3B5", + "proof": { + "commitments": [ + "C6E1129FD3B37DEA", + "83F8D009F27FD8FB", + "C0E5129B0DE204B6", + "80A1F8399D0D8EF9" + ], + "challenges": [ + "EEBC", + "BF73", + "AE3E" + ], + "responses": [ + "AECD", + "D97D" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "3227EFDA3240BAFE", + "data": "464F1FBB4926262D48E3BA54989B637678FAA17E0D3954182903AF46BB26082CACC0884B56D38E65B25BC10359016DFBF20170F4409EEB8C8533CF5E621494452233EBDE3491504648ADF6C5FA1AA50F94262BE2635906BBD2A89AE6CB68DABB033E2DEA1F1920FDB6E84721449420CE7EA2921F66C0E33F01F3B3708EFE5F12E72A44A918EC549389612F72DB6C4C89966BE8BA5D75E60EAF2B19B4680BAE732F14E48F8251FC316B709582DDEA2810E467E97F3B992618A42C9242426B4D42CC8482A35AC84AEF2571243D0ABDFEE77933842586A5C0BA9D284CEDDD527D17C12C1614CC335C67744C8509D73F016043842AC9B6A5EF3C703129C044BE14FA5201B90A1EB1B8FC6A2071988AC5DE09A4E46CC8319127200D89C8C0C6FBE71F643855BAA4AD410FB17F3EA3F154057A81984D5ECCCAA1A23AF89F84FB1D2B6E11649AE5C8C8BEB09B909BED0B58353E5FD2E5B36D602C4CD1204087CC1C0C49A060CC0848FC1E9B1F5CB0F8DDD6EA51C5F480A9986F1D1A6B8C64C3DE9FCE442DAEE1AF4691754EF1E6E14CD98FEECBFA3FCC2FCEB772A23CA73B3339FD2842F20BADB935E0D1CEB8BDA2C5A018EBB400112272342168CAE7576C494DC66584A22873EDB2E81F1378CB79B369C79B0D32E94E318FFDB3B654DBBD7B976690DD77DEB32BF4DE8FEC87025C3A9C432224BA526781F16BBFFF19F133FCB8BF8D7D", + "mac": "937A3224EDFD32892F04220DC0DAEF81B72004E69ECFCF8D770D67AA260DB3B0" + } + }, + { + "object_id": "official-bagel-style", + "sequence_order": 3, + "description_hash": "DE8C", + "ballot_selections": [ + { + "object_id": "new-york-style-selection", + "sequence_order": 1, + "description_hash": "F382", + "ciphertext": { + "pad": "3F1B69E4DD0E3D09", + "data": "23797E5CD6AC4A2C" + }, + "crypto_hash": "3C51", + "nonce": "1EDA", + "proof": { + "commitments": [ + "909B877B92FC5F98", + "4F5034783FB94239", + "2C0E4AE7CDE0A814", + "C87E1F744D8C8772", + "D5F1D3441865B0E4", + "AE59472B870EB343", + "74F1BE16C527C8C1", + "F54566DA8CCB8F71" + ], + "challenges": [ + "6D1D", + "8856", + "37E7", + "9E70", + "CBD9" + ], + "responses": [ + "66F8", + "CDD9", + "6CB3", + "05B2" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "montreal-style-selection", + "sequence_order": 2, + "description_hash": "5D9A", + "ciphertext": { + "pad": "036FBB2D02F8416E", + "data": "468BE9643CD9C09B" + }, + "crypto_hash": "F15A", + "nonce": "8E1B", + "proof": { + "commitments": [ + "FD0CED825C5EB44F", + "088BE41AECE87B5F", + "4E4A2F8D9228A7F9", + "B911BA8BC27E31D7", + "EA6D140D39E5F218", + "5B97D0FF0C913CE9", + "8AC58F55CA695D9B", + "32A2C317559688BF" + ], + "challenges": [ + "CF00", + "45AA", + "1EFA", + "CE2C", + "01EE" + ], + "responses": [ + "655C", + "8CA0", + "30E7", + "99A3" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "st-louis-style-selection", + "sequence_order": 3, + "description_hash": "05ED", + "ciphertext": { + "pad": "78413E93E323515A", + "data": "75EE9839E08B9EE0" + }, + "crypto_hash": "D141", + "nonce": "C7F0", + "proof": { + "commitments": [ + "2031CC2747292D0E", + "D6D90FCA02EB3A38", + "585694191C0F1C2D", + "DC0BF777BEA7F49C", + "A996666ED5CD8848", + "7829CFA31AEA9C3A", + "60AA47262699549A", + "2D9E01F709EEE2A9" + ], + "challenges": [ + "A89F", + "D1D5", + "88BE", + "EC02", + "EF52" + ], + "responses": [ + "82B1", + "BCEA", + "0CF5", + "EB86" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "write-in-style-selection", + "sequence_order": 4, + "description_hash": "E9BF", + "ciphertext": { + "pad": "BE03167878A6251C", + "data": "889F22658C881B3B" + }, + "crypto_hash": "DFCF", + "nonce": "4AAA", + "proof": { + "commitments": [ + "079535ED9E8C067D", + "29134C9D2406BA64", + "17EC90AC34697461", + "E4B8E4FA23AED10A", + "5363232B444F7CBD", + "D4767AFDD7C597A8", + "F54FCA1B6514AD66", + "E23295F26E2D00F5" + ], + "challenges": [ + "E657", + "4A7F", + "08A0", + "B7A0", + "F125" + ], + "responses": [ + "CCC5", + "05E8", + "6D93", + "83B5" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + } + ], + "ciphertext_accumulation": { + "pad": "7EE032F3A205B6CF", + "data": "E9D5455C26D0E7C1" + }, + "crypto_hash": "B0E8", + "contest_limit": 3, + "nonce": "1524", + "proof": { + "commitments": [ + "1702525A0B5F99FF", + "C01731B69827D693", + "E007384630D678EA", + "AE1111AF819436DD", + "11CDB64DA6419119", + "BCBB2F092A397376", + "8A96E6947DA9094E", + "81BB957E2D3AE394" + ], + "challenges": [ + "0647", + "07DE", + "6B50", + "0E8F", + "8804" + ], + "responses": [ + "C710", + "5664", + "9375", + "0C38" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "686D8BD3831A0E05", + "data": "FC3C32E7F1399F648B346DE4DD4FD1F338A39D89E02B2FE31026B31737D55C88AB7F018A66B01B0D076C61BDE41F7AF9D6BEC61A046A1C8E8062CFF70E5ACFBB1AB34F0A5951B9A3685A24675DEEC2F7BCDCA451C4BFB85FCE58AE8B8F0D274CA3975E7CB16F14977FC03B5A487EE14366444BB666667268691C5B0C67509DBA604029CB6FBFDA716D8D75FB06986B26230CA83D41A73F38A66AABCBFBA93BC215BE858BAC0B33FE4B26000D7FAE560CBB7B0F7C9CC8D841003D46315E56CA8FA6BFEC041A8C583F7449712A0EF9070C9169234AF8C897C7844AD0B8B242AFB90033EF74854854373D5C37E9FED0A26EE3926D535F9FCC2D859AD7BDAB7D44F20EABDE7E3D6F64797C0D0FE0B76C653E94671DC0F0D640E80BCF6F985966EBB187D06DAD7F34C1B51C88D1775976C88F23B440F462D0EA76EC7D1E3641193AA78711FF257C08ADBBAABCB8FA1EEB12658A9B0A65BA7E41C926F77149612A87D3147F020B754D18292E1C8E313CF8BBA80E6FC7D2788B62E49AEE1BD5C02B889EA919A912F39CD99F98434C00131211B51AECCEA146D640A18D6FDF3B05DA66C474B3103D100F1DD199DA117DF07F91678507A871531CDBA1F0C54A6A8829155523666C3B45BABBC6805DB3F0CC33735C9D36B1023A276E66FB399A7454C7F44B2C9501ADF481D369D4CB303B618341DCC6A21D0A9853AC421D907B21DB3B35D4", + "mac": "AB368DC81115595826B9AA9009D42784413BF3DDB5D1C917BC6FC7B0FE0E9DEB" + } + } + ], + "code": "5ACA", + "timestamp": 1660841183, + "crypto_hash": "044F", + "nonce": "5E42" +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_9fee0e77-cfd2-401a-a210-93bbc4dd30ef.json b/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_9fee0e77-cfd2-401a-a210-93bbc4dd30ef.json new file mode 100644 index 00000000..a31bbb88 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/ciphertext_ballots/ciphertext_ballot_9fee0e77-cfd2-401a-a210-93bbc4dd30ef.json @@ -0,0 +1,480 @@ +{ + "object_id": "9fee0e77-cfd2-401a-a210-93bbc4dd30ef", + "style_id": "harrison-township-ballot-style", + "manifest_hash": "6A75", + "code_seed": "9786", + "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": "982BAB92DCC3A16A", + "data": "897BE2D5D8FA85AB" + }, + "crypto_hash": "4B9D", + "nonce": "FE68", + "proof": { + "commitments": [ + "BB33758B24C226C3", + "969E1614F872D23A", + "50A5311D9DEA9B33", + "1BE1410796317C2D" + ], + "challenges": [ + "F5D8", + "B2B6", + "A89D" + ], + "responses": [ + "15D5", + "1471" + ], + "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": "1FA3B4B890A3D3DE", + "data": "AA9C74D6DED6F0D0" + }, + "crypto_hash": "B947", + "nonce": "8925", + "proof": { + "commitments": [ + "D2321C8C47EB54A0", + "7D1CDCDC2091284E", + "A7DF7C1CE6CE3216", + "30A9DBDBCB6CDDD0" + ], + "challenges": [ + "166C", + "7E41", + "94AD" + ], + "responses": [ + "0E13", + "35D4" + ], + "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": "26E7885714F569CF", + "data": "A634C8E3193DB423" + }, + "crypto_hash": "429B", + "nonce": "4712", + "proof": { + "commitments": [ + "71FED42DE606BE18", + "54AC2F9ECE52F810", + "8EFF9C723A6081EF", + "D1C1ACB597669CAC" + ], + "challenges": [ + "AD6C", + "1D22", + "CA8E" + ], + "responses": [ + "8C55", + "7820" + ], + "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": "12952DCF5ED0B95D", + "data": "1E92A396C8DA13F9" + }, + "crypto_hash": "95C4", + "nonce": "A762", + "proof": { + "commitments": [ + "A6CF88270A36C1B0", + "5840764FBDC9BAB9", + "5A76137EE7416E98", + "014B9FE184B71C11" + ], + "challenges": [ + "86C4", + "866F", + "0D42" + ], + "responses": [ + "BF78", + "BA32" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + } + ], + "ciphertext_accumulation": { + "pad": "0A836FE51BC2F5FE", + "data": "F7773D4EBED6F83A" + }, + "crypto_hash": "723F", + "contest_limit": 2, + "nonce": "36B1", + "proof": { + "commitments": [ + "0EBCE2CA20EA643B", + "E51F059C58C622B1", + "E0E793CFB961F9BB", + "FCA788880ECD4F82", + "45E0922AE2E11408", + "34A7FDC4417A8513" + ], + "challenges": [ + "8EC7", + "A9C8", + "04D7", + "3D75" + ], + "responses": [ + "366A", + "6880", + "E0DD" + ], + "limit": 2, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "ECC333EF77A8B69F", + "data": "59E948179FE8F0ACA67AD5FD8B4F98C71F16A85C865F6FF48C70949962BC009279B6C6A90B39685972ABA4A2C3E7557BCF414172027BBCC7A3980D35F0080E899197151D277398F2E99533A46A8B2DA63352313EF4FB1596271259BF40CE25387B3EAEC1ED1CF2B1BC329C0012188AAC06B2B75FBB571C34D7CFF0E8809D79D36BA4B8BC350C3DAE24C2F83A2DE51CEDDA21B47BC98EFB6EC3B6751662A6E89306FFC58A0C055696B76B16A78B21DEE82C024F211F8D5E8B46FC4B3A005ED20A099F5DC226E84303959C5F9438E1AA43ED0E8A0EB11CCF5E6E05157AAFAAD445224FE39D836350D974A96BD5AB945AE99825E6ABDA41D7A7A5E3A2F32A44E2DAA6CBBBC82C446B592B4AC2C680881D4F703187C8D657D7CEE966B598C5B4313CDB16F57C6BABCB9583EE158471894E90C8971E70F8CFADE0B6791A9E2B8E379E1247EBF9F7C6B05D8458EF707053EF44EC55622BD674D4E9F50381C617D398E78A4E0356208D5E41A168999DF54F864624A1F99C1E780266F07927AE5762BA19061E59C7DB857108C49E20D6228AAD29DB514C9BB0710919348DC401FFFEED8D5C07B58A8F1D4C63C6287DB75707F2896CEFB20EC303A1B159A0D55D02BB1B557B552E156A518E02350ED2B4B6D4E23666B9EF72B3248DAC0244784CD661BBEBC62406F6E503B42795C53B18A6DE5FCEFDCA1019731CB427EFA821D30D52A086", + "mac": "52EC3F0C0B1513A42379291608E856F9DFC64F986BA9863520663B0096671646" + } + }, + { + "object_id": "referendum-pineapple", + "sequence_order": 2, + "description_hash": "FC79", + "ballot_selections": [ + { + "object_id": "referendum-pineapple-affirmative-selection", + "sequence_order": 1, + "description_hash": "B676", + "ciphertext": { + "pad": "D4414CB48729F4AC", + "data": "26C0745282C808ED" + }, + "crypto_hash": "ECC3", + "nonce": "1A05", + "proof": { + "commitments": [ + "FF82436545792B9C", + "E2EFA2657884158A", + "C2838EA16E48E0FF", + "CCD7793028A39823" + ], + "challenges": [ + "5F94", + "72B3", + "D247" + ], + "responses": [ + "3056", + "2578" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + }, + { + "object_id": "referendum-pineapple-negative-selection", + "sequence_order": 2, + "description_hash": "ADE5", + "ciphertext": { + "pad": "2097FE68F84B57E1", + "data": "F3B5B9EBD0C5E084" + }, + "crypto_hash": "37C4", + "nonce": "312F", + "proof": { + "commitments": [ + "B062056EB69F3A81", + "41438B3E4D546EE8", + "7E320A40854D7D40", + "803AABDE9913F64D" + ], + "challenges": [ + "9AF8", + "6B70", + "0677" + ], + "responses": [ + "8C67", + "F3B0" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + } + ], + "ciphertext_accumulation": { + "pad": "82533CE497BD2A8B", + "data": "36752C6A5F118BDC" + }, + "crypto_hash": "31B6", + "contest_limit": 1, + "nonce": "3F70", + "proof": { + "commitments": [ + "622E37677555BF53", + "B1FFC610A56BA460", + "F6687BC77137CF10", + "0A688A489C49BED8" + ], + "challenges": [ + "D261", + "E199", + "B409" + ], + "responses": [ + "8C79", + "E669" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "9AEB9F7A07230F86", + "data": "17D98AF9FC0A3397D0DAFC1D6FA01AE17945607A6407D200BDF7BDC1DEB9362789A079DCE95A41A6BB48DFB2EC10D46F0C1099D4D0F5EE1D46AFDCE37B66613DDF06A185F8D425961B6AE585B7A4EF15C7540872ED4D03D045803A172AF334500F58280E2930F46EC7AB6D14C789029523DE049448CB1823F6016010A901E3609B9F7987A1A3138934CA7A9E3473549F12C93E05E774765417222D1E5B0B89637F7FBCBCE75CCDA18F62A42CD6AC9431875228A524135035B18AC41DB9B0A13A59A3A2279455A7AE508A25A5CF51C044E8DEF0D1022F2BD52B0D69556EE781269BDC7843C3580CD9E1B1F98E0C3C59A407AAC72D76C4ABD45958B114BF7A35DA6A7404586004DC4B69AE3EC1D943B4A7A4381834156B4D7EF51A30FCEC50FBF6C99E37DFCB3B3394B6C3F7EAA99907DCD1CD91CD816A983EF61CC3A40F81282CC2B8A61297B0868DCCC2B1CCECA26878CD7B810DD180E486B078D5B4DB4522EEF42179F5BADC3E830A0F67B1699253073406FC50497B72B8101F68A6AE4BF49CD05FBAC88014E92C57FB5A642CF735307D40B248750444B7FF2114E11299AC140AC56A5FC66302B6CAA577AB72D91B31A6656FDB34BA661250F1EA163B52E85C2EE1F40718557C0CDBC93D61DE52EED3958EB78D26140530B0C5FCEC186162895D7C8132BDEE91AA6B434A977548E015FD89EE6395292557E24BAA94323D14DA", + "mac": "CAD05FC2CBDA1890D4AA2F0BAB8C3D85C37BF6A83220C76A714186082F8EEF7F" + } + }, + { + "object_id": "official-bagel-style", + "sequence_order": 3, + "description_hash": "DE8C", + "ballot_selections": [ + { + "object_id": "new-york-style-selection", + "sequence_order": 1, + "description_hash": "F382", + "ciphertext": { + "pad": "D0D1F050042855CE", + "data": "E0013F860584FE6F" + }, + "crypto_hash": "613B", + "nonce": "5372", + "proof": { + "commitments": [ + "25FDAA1E95FA57AF", + "4989894A1C4B7967", + "60377CD9FDDD5D16", + "B1E298895826B679", + "2F4FE1706B03F4DA", + "F29AC52272FFA74B", + "345317475676F26B", + "B087E507EE2BA97C" + ], + "challenges": [ + "89A3", + "5DF1", + "E93B", + "68BA", + "39A7" + ], + "responses": [ + "2DAC", + "C487", + "90FC", + "3479" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "montreal-style-selection", + "sequence_order": 2, + "description_hash": "5D9A", + "ciphertext": { + "pad": "0B64DF3C1CF39F4A", + "data": "7FB66D68CDF248F7" + }, + "crypto_hash": "647C", + "nonce": "1F73", + "proof": { + "commitments": [ + "BDF5550944DCC812", + "3723E051B6262294", + "AE153DE104FDB56F", + "13508969F0BA7274", + "F5B666B258346B0E", + "EE84C3F64CF21823", + "A4AF494258BB7674", + "89297CE099040C00" + ], + "challenges": [ + "2D03", + "6DE3", + "38DF", + "19E6", + "EDAB" + ], + "responses": [ + "63E3", + "CF4A", + "B158", + "A2B2" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "st-louis-style-selection", + "sequence_order": 3, + "description_hash": "05ED", + "ciphertext": { + "pad": "058B47EA2EC03159", + "data": "B38818334504A1" + }, + "crypto_hash": "06D0", + "nonce": "C908", + "proof": { + "commitments": [ + "7624FA02EB11FFB6", + "3CEBEADC393CFD90", + "D91389E04D109882", + "261087BBF2490196", + "D5BD5F1C83D99781", + "6D0219A28F5CE051", + "87771DA1E743F5B8", + "97EA137369581958" + ], + "challenges": [ + "BFBB", + "017A", + "12DB", + "5322", + "2741" + ], + "responses": [ + "C77F", + "3F18", + "2939", + "9AF8" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "write-in-style-selection", + "sequence_order": 4, + "description_hash": "E9BF", + "ciphertext": { + "pad": "645BB4E46EE41CAF", + "data": "3BBA15646BF76DFC" + }, + "crypto_hash": "9387", + "nonce": "375C", + "proof": { + "commitments": [ + "0A0B9A648F9C595C", + "23D39292E19D6E8B", + "B308954EBD7C9E77", + "AC3876E1833D1C96", + "264E901ADD447151", + "050BF4C6FA9A8279", + "E3CC19052D0532A8", + "C958EF5E556EF882" + ], + "challenges": [ + "CDCF", + "0696", + "4E0E", + "9D42", + "BFC4" + ], + "responses": [ + "E613", + "0A1D", + "6767", + "AADB" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + } + ], + "ciphertext_accumulation": { + "pad": "CE242880645A52BE", + "data": "8D4082AE2A58C8B8" + }, + "crypto_hash": "2D36", + "contest_limit": 3, + "nonce": "7678", + "proof": { + "commitments": [ + "DE6028BB16BB17E3", + "F0E7EDF1E0D3AC71", + "407A595F6E199BA1", + "E232C0D867E0B92D", + "651E3AB12342A433", + "433D97B9F4721356", + "E982185495D425", + "3497D284DA96BA57" + ], + "challenges": [ + "661C", + "17D3", + "5BEE", + "4A8F", + "247B" + ], + "responses": [ + "1BEC", + "F245", + "C29A", + "4A54" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "56D16253F12472EA", + "data": "771EF88FE5E439AE3851FD2111E0A543AF31119BB2E1E639203065ED41EA28700C7407DA3FA5D76608B3D6A6B8F917D3B874432173C8A552BDC037A08FD127ADBCDBA2AE2B6AA864ADBE742FEA8C714E192620485E2FB4E35F17D7C8910B9D3A164302EE668492D4A7FC0B28B0FF471FE9744180406BF3F4775E7546713BD93BE511062BCAF1506D6FA945B0CD57158E79FA3C86BB10D60477DCB240B6919512E49A71CE4D10E69D903BF980DA0A65ADA6FE7AB732D342609F1ED5D809D1E08932D27D0BC536DBBA080ED6D713646D32A7521F16EF6ABC2C1ECDEA56B8782D50FB8788BC928193138649E65863C9E20746A6409BE3FF7FA021A1B5DD7598C269309240D543BCB22D9B7F86AE9212880CD4B16423D3952D21987BEB8193646AB8206A03917469046E8B8C2C8E07DD6AEF3E9CA74CC4C60B2166C03A3DB40A8382E1A90A9CC9D9D603D0C508E738E04944E6EDB4187E3FC9967572B40E97295D5322B1FAB40175F2F40D12A60D64F540996CDC9EA0FD25575C0F74A344FCFBFF39B962F35C600DBFFFAE35C9923451E75CC656BB02064A05E35179EB1FA613CB045239444FC8272BDF75FD8D8C87A2242985E20A636FB1E1590A013481CED075041BEBC2DBBA0894389E22154578F0B0783DCCF55C5AEB4141C7742B9E701F4D607964CF0AC480A7E55005C382B7C83B8B7DC51B3B866D4AAF62AEA949ADEFA5AE", + "mac": "DCDFCFB40DFC58459CBE1AD2EF8B05903D701FBF707F4904A31AF34321AEF31D" + } + } + ], + "code": "F445", + "timestamp": 1660841184, + "crypto_hash": "9A92", + "nonce": "27D6" +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_03a29d15-667c-4ac8-afd7-549f19b8e4eb.json b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_03a29d15-667c-4ac8-afd7-549f19b8e4eb.json new file mode 100644 index 00000000..34cff543 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_03a29d15-667c-4ac8-afd7-549f19b8e4eb.json @@ -0,0 +1,21 @@ +{ + "object_id": "03a29d15-667c-4ac8-afd7-549f19b8e4eb", + "style_id": "jefferson-county-ballot-style", + "contests": [ + { + "object_id": "justice-supreme-court", + "ballot_selections": [ + { + "object_id": "john-adams-selection", + "vote": 1, + "write_in": null + }, + { + "object_id": "write-in-selection", + "vote": 1, + "write_in": null + } + ] + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_1048ce32-f1b1-4b05-b7fb-8c615ac842ee.json b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_1048ce32-f1b1-4b05-b7fb-8c615ac842ee.json new file mode 100644 index 00000000..afaf1c71 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_1048ce32-f1b1-4b05-b7fb-8c615ac842ee.json @@ -0,0 +1,21 @@ +{ + "object_id": "1048ce32-f1b1-4b05-b7fb-8c615ac842ee", + "style_id": "jefferson-county-ballot-style", + "contests": [ + { + "object_id": "justice-supreme-court", + "ballot_selections": [ + { + "object_id": "john-adams-selection", + "vote": 1, + "write_in": null + }, + { + "object_id": "write-in-selection", + "vote": 1, + "write_in": null + } + ] + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_25a7111b-4334-425a-87c1-f7a49f42b3a2.json b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_25a7111b-4334-425a-87c1-f7a49f42b3a2.json new file mode 100644 index 00000000..5cdaa0cd --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_25a7111b-4334-425a-87c1-f7a49f42b3a2.json @@ -0,0 +1,21 @@ +{ + "object_id": "25a7111b-4334-425a-87c1-f7a49f42b3a2", + "style_id": "jefferson-county-ballot-style", + "contests": [ + { + "object_id": "justice-supreme-court", + "ballot_selections": [ + { + "object_id": "john-adams-selection", + "vote": 1, + "write_in": null + }, + { + "object_id": "benjamin-franklin-selection", + "vote": 1, + "write_in": null + } + ] + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_5a150c74-a2cb-47f6-b575-165ba8a4ce53.json b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_5a150c74-a2cb-47f6-b575-165ba8a4ce53.json new file mode 100644 index 00000000..5632eb1b --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_5a150c74-a2cb-47f6-b575-165ba8a4ce53.json @@ -0,0 +1,46 @@ +{ + "object_id": "5a150c74-a2cb-47f6-b575-165ba8a4ce53", + "style_id": "harrison-township-ballot-style", + "contests": [ + { + "object_id": "justice-supreme-court", + "ballot_selections": [ + { + "object_id": "john-adams-selection", + "vote": 1, + "write_in": null + }, + { + "object_id": "john-hancock-selection", + "vote": 1, + "write_in": null + } + ] + }, + { + "object_id": "referendum-pineapple", + "ballot_selections": [ + { + "object_id": "referendum-pineapple-affirmative-selection", + "vote": 1, + "write_in": null + } + ] + }, + { + "object_id": "official-bagel-style", + "ballot_selections": [ + { + "object_id": "new-york-style-selection", + "vote": 2, + "write_in": null + }, + { + "object_id": "st-louis-style-selection", + "vote": 1, + "write_in": null + } + ] + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58.json b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58.json new file mode 100644 index 00000000..42abedf4 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58.json @@ -0,0 +1,21 @@ +{ + "object_id": "69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58", + "style_id": "harrison-township-ballot-style", + "contests": [ + { + "object_id": "justice-supreme-court", + "ballot_selections": [ + { + "object_id": "john-adams-selection", + "vote": 1, + "write_in": null + }, + { + "object_id": "john-hancock-selection", + "vote": 1, + "write_in": null + } + ] + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_9fee0e77-cfd2-401a-a210-93bbc4dd30ef.json b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_9fee0e77-cfd2-401a-a210-93bbc4dd30ef.json new file mode 100644 index 00000000..4af6e6df --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_9fee0e77-cfd2-401a-a210-93bbc4dd30ef.json @@ -0,0 +1,46 @@ +{ + "object_id": "9fee0e77-cfd2-401a-a210-93bbc4dd30ef", + "style_id": "harrison-township-ballot-style", + "contests": [ + { + "object_id": "justice-supreme-court", + "ballot_selections": [ + { + "object_id": "john-adams-selection", + "vote": 1, + "write_in": null + }, + { + "object_id": "write-in-selection", + "vote": 1, + "write_in": null + } + ] + }, + { + "object_id": "referendum-pineapple", + "ballot_selections": [ + { + "object_id": "referendum-pineapple-negative-selection", + "vote": 1, + "write_in": null + } + ] + }, + { + "object_id": "official-bagel-style", + "ballot_selections": [ + { + "object_id": "new-york-style-selection", + "vote": 1, + "write_in": null + }, + { + "object_id": "montreal-style-selection", + "vote": 0, + "write_in": null + } + ] + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf57b38-73f3-11ec-aaed-acde48001122.json b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf57b38-73f3-11ec-aaed-acde48001122.json new file mode 100644 index 00000000..007461f0 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf57b38-73f3-11ec-aaed-acde48001122.json @@ -0,0 +1,192 @@ +{ + "object_id": "ballot-ddf57b38-73f3-11ec-aaed-acde48001122", + "style_id": "congress-district-5-hamilton-county", + "contests": [ + { + "object_id": "president-vice-president-contest", + "sequence_order": 0, + "ballot_selections": [ + { + "object_id": "barchi-hallaren-selection", + "sequence_order": 0, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "cramer-vuocolo-selection", + "sequence_order": 1, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "hildebrand-garritty-selection", + "sequence_order": 4, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "patterson-lariviere-selection", + "sequence_order": 5, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + }, + { + "object_id": "ozark-governor", + "sequence_order": 1, + "ballot_selections": [ + { + "object_id": "franz-selection", + "sequence_order": 0, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "harris-selection", + "sequence_order": 1, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "bargmann-selection", + "sequence_order": 2, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "abcock-selection", + "sequence_order": 3, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "walace-selection", + "sequence_order": 6, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "greher-selection", + "sequence_order": 12, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "mitchell-selection", + "sequence_order": 14, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "lee-selection", + "sequence_order": 15, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "ash-selection", + "sequence_order": 16, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "teller-selection", + "sequence_order": 20, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "murphy-selection", + "sequence_order": 22, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "newman-selection", + "sequence_order": 23, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "chandler-selection", + "sequence_order": 26, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "write-in-selection-governor", + "sequence_order": 27, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + }, + { + "object_id": "congress-district-5-contest", + "sequence_order": 2, + "ballot_selections": [ + { + "object_id": "soliz-selection", + "sequence_order": 0, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "keller-selection", + "sequence_order": 1, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "rangel-selection", + "sequence_order": 2, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "argent-selection", + "sequence_order": 3, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "witherspoon-smithson-selection", + "sequence_order": 4, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "write-in-selection-us-congress-district-5", + "sequence_order": 5, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf585ec-73f3-11ec-aaed-acde48001122.json b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf585ec-73f3-11ec-aaed-acde48001122.json new file mode 100644 index 00000000..cbc92226 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf585ec-73f3-11ec-aaed-acde48001122.json @@ -0,0 +1,164 @@ +{ + "object_id": "ballot-ddf585ec-73f3-11ec-aaed-acde48001122", + "style_id": "congress-district-7-hamilton-county", + "contests": [ + { + "object_id": "president-vice-president-contest", + "sequence_order": 0, + "ballot_selections": [ + { + "object_id": "barchi-hallaren-selection", + "sequence_order": 0, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "cramer-vuocolo-selection", + "sequence_order": 1, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "court-blumhardt-selection", + "sequence_order": 2, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "write-in-selection-president", + "sequence_order": 6, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + }, + { + "object_id": "ozark-governor", + "sequence_order": 1, + "ballot_selections": [ + { + "object_id": "harris-selection", + "sequence_order": 1, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "bargmann-selection", + "sequence_order": 2, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "abcock-selection", + "sequence_order": 3, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "sharp-selection", + "sequence_order": 5, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "williams-selection", + "sequence_order": 7, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "windbeck-selection", + "sequence_order": 10, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "greher-selection", + "sequence_order": 12, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "kennedy-selection", + "sequence_order": 17, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "ward-selection", + "sequence_order": 21, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "murphy-selection", + "sequence_order": 22, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "newman-selection", + "sequence_order": 23, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "chandler-selection", + "sequence_order": 26, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "write-in-selection-governor", + "sequence_order": 27, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + }, + { + "object_id": "congress-district-7-contest", + "sequence_order": 3, + "ballot_selections": [ + { + "object_id": "bainbridge-selection", + "sequence_order": 0, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "hennessey-selection", + "sequence_order": 1, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "savoy-selection", + "sequence_order": 2, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf58ed4-73f3-11ec-aaed-acde48001122.json b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf58ed4-73f3-11ec-aaed-acde48001122.json new file mode 100644 index 00000000..439a74bf --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf58ed4-73f3-11ec-aaed-acde48001122.json @@ -0,0 +1,225 @@ +{ + "object_id": "ballot-ddf58ed4-73f3-11ec-aaed-acde48001122", + "style_id": "congress-district-5-arlington-somerset", + "contests": [ + { + "object_id": "president-vice-president-contest", + "sequence_order": 0, + "ballot_selections": [ + { + "object_id": "cramer-vuocolo-selection", + "sequence_order": 1, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "boone-lian-selection", + "sequence_order": 3, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "hildebrand-garritty-selection", + "sequence_order": 4, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "patterson-lariviere-selection", + "sequence_order": 5, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + }, + { + "object_id": "ozark-governor", + "sequence_order": 1, + "ballot_selections": [ + { + "object_id": "franz-selection", + "sequence_order": 0, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "harris-selection", + "sequence_order": 1, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "bargmann-selection", + "sequence_order": 2, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "abcock-selection", + "sequence_order": 3, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "steel-loy-selection", + "sequence_order": 4, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "ash-selection", + "sequence_order": 16, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "kennedy-selection", + "sequence_order": 17, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "brown-selection", + "sequence_order": 19, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "murphy-selection", + "sequence_order": 22, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "callanann-selection", + "sequence_order": 24, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "write-in-selection-governor", + "sequence_order": 27, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + }, + { + "object_id": "congress-district-5-contest", + "sequence_order": 2, + "ballot_selections": [ + { + "object_id": "soliz-selection", + "sequence_order": 0, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "keller-selection", + "sequence_order": 1, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "rangel-selection", + "sequence_order": 2, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "argent-selection", + "sequence_order": 3, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + } + ] + }, + { + "object_id": "somerset-school-board-contest", + "sequence_order": 5, + "ballot_selections": [ + { + "object_id": "summers-selection", + "sequence_order": 0, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "osborne-selection", + "sequence_order": 2, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "rosenberg-selection", + "sequence_order": 3, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "head-selection", + "sequence_order": 4, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "marsters-selection", + "sequence_order": 5, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "write-in-selection-1-somerset-school-board", + "sequence_order": 6, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "write-in-selection-2-somerset-school-board", + "sequence_order": 7, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + }, + { + "object_id": "arlington-chief-justice-retain-demergue", + "sequence_order": 6, + "ballot_selections": [ + { + "object_id": "ozark-chief-justice-retain-demergue-affirmative-selection", + "sequence_order": 0, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + } + ] + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf59b04-73f3-11ec-aaed-acde48001122.json b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf59b04-73f3-11ec-aaed-acde48001122.json new file mode 100644 index 00000000..dda2bf44 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf59b04-73f3-11ec-aaed-acde48001122.json @@ -0,0 +1,226 @@ +{ + "object_id": "ballot-ddf59b04-73f3-11ec-aaed-acde48001122", + "style_id": "congress-district-7-arlington", + "contests": [ + { + "object_id": "president-vice-president-contest", + "sequence_order": 0, + "ballot_selections": [ + { + "object_id": "barchi-hallaren-selection", + "sequence_order": 0, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "cramer-vuocolo-selection", + "sequence_order": 1, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "court-blumhardt-selection", + "sequence_order": 2, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "boone-lian-selection", + "sequence_order": 3, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "patterson-lariviere-selection", + "sequence_order": 5, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "write-in-selection-president", + "sequence_order": 6, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + }, + { + "object_id": "ozark-governor", + "sequence_order": 1, + "ballot_selections": [ + { + "object_id": "franz-selection", + "sequence_order": 0, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "harris-selection", + "sequence_order": 1, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "abcock-selection", + "sequence_order": 3, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "steel-loy-selection", + "sequence_order": 4, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "sharp-selection", + "sequence_order": 5, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "alpern-selection", + "sequence_order": 9, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "sharp-althea-selection", + "sequence_order": 11, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "alexander-selection", + "sequence_order": 13, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "lee-selection", + "sequence_order": 15, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "ash-selection", + "sequence_order": 16, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "kennedy-selection", + "sequence_order": 17, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "brown-selection", + "sequence_order": 19, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "teller-selection", + "sequence_order": 20, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "murphy-selection", + "sequence_order": 22, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "newman-selection", + "sequence_order": 23, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "york-selection", + "sequence_order": 25, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "write-in-selection-governor", + "sequence_order": 27, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + }, + { + "object_id": "congress-district-7-contest", + "sequence_order": 3, + "ballot_selections": [ + { + "object_id": "bainbridge-selection", + "sequence_order": 0, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "hennessey-selection", + "sequence_order": 1, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "savoy-selection", + "sequence_order": 2, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "tawa-mary-selection", + "sequence_order": 4, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + }, + { + "object_id": "arlington-chief-justice-retain-demergue", + "sequence_order": 6, + "ballot_selections": [ + { + "object_id": "ozark-chief-justice-retain-demergue-affirmative-selection", + "sequence_order": 0, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + } + ] + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf5a59a-73f3-11ec-aaed-acde48001122.json b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf5a59a-73f3-11ec-aaed-acde48001122.json new file mode 100644 index 00000000..f9cde85b --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/plaintext_ballots/plaintext_ballot_ballot-ddf5a59a-73f3-11ec-aaed-acde48001122.json @@ -0,0 +1,213 @@ +{ + "object_id": "ballot-ddf5a59a-73f3-11ec-aaed-acde48001122", + "style_id": "congress-district-5-hamilton-county", + "contests": [ + { + "object_id": "president-vice-president-contest", + "sequence_order": 0, + "ballot_selections": [ + { + "object_id": "barchi-hallaren-selection", + "sequence_order": 0, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "court-blumhardt-selection", + "sequence_order": 2, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "boone-lian-selection", + "sequence_order": 3, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "hildebrand-garritty-selection", + "sequence_order": 4, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "patterson-lariviere-selection", + "sequence_order": 5, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + }, + { + "object_id": "ozark-governor", + "sequence_order": 1, + "ballot_selections": [ + { + "object_id": "harris-selection", + "sequence_order": 1, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "abcock-selection", + "sequence_order": 3, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "steel-loy-selection", + "sequence_order": 4, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "sharp-selection", + "sequence_order": 5, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "walace-selection", + "sequence_order": 6, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "williams-selection", + "sequence_order": 7, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "alpern-selection", + "sequence_order": 9, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "windbeck-selection", + "sequence_order": 10, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "mitchell-selection", + "sequence_order": 14, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "ash-selection", + "sequence_order": 16, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "kennedy-selection", + "sequence_order": 17, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "brown-selection", + "sequence_order": 19, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "ward-selection", + "sequence_order": 21, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "murphy-selection", + "sequence_order": 22, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "newman-selection", + "sequence_order": 23, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "york-selection", + "sequence_order": 25, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "chandler-selection", + "sequence_order": 26, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "write-in-selection-governor", + "sequence_order": 27, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + }, + { + "object_id": "congress-district-5-contest", + "sequence_order": 2, + "ballot_selections": [ + { + "object_id": "soliz-selection", + "sequence_order": 0, + "vote": 1, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "keller-selection", + "sequence_order": 1, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "rangel-selection", + "sequence_order": 2, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + }, + { + "object_id": "write-in-selection-us-congress-district-5", + "sequence_order": 5, + "vote": 0, + "is_placeholder_selection": false, + "extended_data": null + } + ] + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_1.json b/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_1.json new file mode 100644 index 00000000..94568aee --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_1.json @@ -0,0 +1,310 @@ +{ + "guardian_id": "1", + "election_keys": { + "owner_id": "1", + "sequence_order": 1, + "key_pair": { + "secret_key": "3524", + "public_key": "97A8D061E44D3C4A" + }, + "polynomial": { + "coefficients": [ + { + "value": "3524", + "commitment": "97A8D061E44D3C4A", + "proof": { + "public_key": "97A8D061E44D3C4A", + "commitment": "20C3FD348E1EC7C8", + "challenge": "38FB", + "response": "D362", + "usage": "Prove knowledge of secret value" + } + }, + { + "value": "D3CA", + "commitment": "060C693748D0A269", + "proof": { + "public_key": "060C693748D0A269", + "commitment": "8E0C2178973355CC", + "challenge": "87F2", + "response": "36BB", + "usage": "Prove knowledge of secret value" + } + }, + { + "value": "C3DB", + "commitment": "049E7A4F1F55A06D", + "proof": { + "public_key": "049E7A4F1F55A06D", + "commitment": "962E88A421C1B6EC", + "challenge": "0B37", + "response": "C79D", + "usage": "Prove knowledge of secret value" + } + } + ] + } + }, + "backups_to_share": { + "1": { + "owner_id": "1", + "designated_id": "1", + "designated_sequence_order": 1, + "encrypted_coordinate": { + "pad": "3580E027A02B0600", + "data": "87F8932E91DC7DE0F8878D351D8A0C0CEED650BB890AD85CA663F059CFC42CACE82C0069103C5479445FE6925DFD5CC5E2222152396D9D727305FE85A78FD3A273AB910347932B34428C4DD37D6C664E6741559DABCFF9C4E56A238958769D5EE4103848420E155043EF67BF41A28516F06589C2BB4CD9F88FF139A752AAFC856593B74639180642A1143742FD32A55FBD2799492DADDD0E6CD174738DE24CCFCC39170DCECEF0558272E16E656DC4DA6848EF6C72828E5DDE0B7D3718C41D7899F3989AE447BB3350245C10C7A6C8D9E7E3A6DA1F56A912BD9449BFFC3B70566691A0DDA7A9313BEE92EDF2A9A5DAC90E421D20169FF391542F9685933E824544A6396E1B451EF136895690AA8E0C32EA162CD1DEB6F7162778C2A6E50102AF1849C78283C103D269F73D151E188492E01652EED8BB76D7415C96841940F7380617BB24906299177BE5DF0B2AC4139EE53BF6BB1C229482FB21A8D3E0BEE7E783C23023FBCDC63FA82D3245F87094470BA1FB33B7BC15468307661317B405D369E02EACE20A504D073919D74BD97B464334C7EBF7C766BA036DD8142805005F916070135AF52ABF267EB30E86DA17DA4F0B92FE11BEE03C1BAEDCF6541B6D55C18974B5FA0A9F81F942137A6071742C89E5E0FF02EF304EBF3EBD903D9DC8F35D6F7EE0C779F59DF96A0265FC5F609129AA6EE5A876E9295CFCEAB4EF11D0A1", + "mac": "1F30B38DFC485695275FFB2E1FB535FCF1CCD7B98D2CB5E56F7443D45E0BECEA" + } + }, + "2": { + "owner_id": "1", + "designated_id": "2", + "designated_sequence_order": 2, + "encrypted_coordinate": { + "pad": "D8FA60C615885163", + "data": "A2EECE6117C1BE7E76B64C574A7F78CC17D14DD0298A71D7AE742C73D9315BA0098C8CAF9DC38D5459706A36F182A452610003DA3E264FD24D09F21328DA2F2A30BA99593585C90101F4F7BDFEAD8DCEC35E809CCD9AF5E76BD2C9AD7474FBB35E1239FCAEF9817538415589FBF8030DE01C28445C4A3F1D7FDF139BB2B458F6B22B74A903436CA731A4B4C250580B367FD909012BD33DF1931007E9564691262FBF9FFC2433137F15D81BC35C2EAB07116CA1281DF5DC95E97C7B3F911FF9AD43C4B96070293E2A3B0BAB3A0702ECEE68D681E3893660F740E196D4C12BE553A711FBE85815E097F027702C23CCEA3874C1C9DD8C9C5636CE08162D2845885708FEECB257C4DB6C38534FA49FC7ACDDE53A2E818CB945EF51E77A9158C8D03557895F0BB0E58148D0CAFC3DD6D46DDE12EF70A8675CBCD816E9C8601902AB7B2279462D3D61010E13B5F21381D8163056CFF1FABB0A4291DC774908AD67C7F64009C33FA8E99A4D6399DFC5E03C8CE3D98D7681EE2E456E52312DCA3984D352A9D6B8B55F0199F952E786D22966D2521217E4263E19B8036C542C9B3097B3E9E44C876E28250C20700C89C4990DDE8F8C462E7531C3F69AA976676A23657463700BCFB849F82F3579A6B6AA21EA649D16E77FAE2FD9F4A5DEB787E0D1E815371D63B0EE50C2EDA8853FF5B63815FF6A6BEF86F45B4B828ED9612225DA14845F", + "mac": "826B9133EB46B2D9D67524341D7033F73A1C6D66AC871341FA51CC9B874320B9" + } + }, + "3": { + "owner_id": "1", + "designated_id": "3", + "designated_sequence_order": 3, + "encrypted_coordinate": { + "pad": "BFD4F6B98A033592", + "data": "C26D9279F075FE8A872C63FC4342772F8038BB935BA4B048270B859A1C1F1448FE6032A0C0D47A0A450475F515EECFCEB858EFA1427DB4F4A87E75991E824D607A820BEBB6A4C7AC6D59A66F92F7E6FC86096357190E8BE9707831DBE8F6094C12D91026290F9BDDBDA70ABA8C910E2A89411929FA11A544F89F2887C773146286B9C98771FB1A7FF58549AF88F70B2D157452765E89D020F3B1F38963637743B591D88916CB3F2978F1A02DED41AC9BBDE4E889DA6558D95E9A62E04808651D7429E3DD4EDD737843B358FEBB84BE96C5C8E56780F9E0DD61CB4C92AFBA663F95CC6C99FB7EB39E515FA310B95B7BDFD10B0D656AAB33A6B132B60427FE96421DD5D1D7BFFB4C7C692E0F61BE38AA35A9E7432BF3F591DA21BBB22C5A78C3E014C9E9C1994A7AC591FF96553D80DB979737046314DFF9168568D62331A563BFF1CDE7E366F6BDCFAB693894551587DE41D4D5D7E0D64083FD1FF3C795F38F7F4F069398A96C8E35D0F6EABE94AB4FEFA94B16ABD1D496F443AA29A29AA00A78A2FC02404AFA41FDA93148338D0ED7EE3D8CE1222F6B798DBB10C17BBE6EF1F313838DB06085CB770AE17DCEE1FDE2097674EC8E3A3ABD4DCD58451338A719F18A9F0A1D67746FA00800030B36853DB5D694F886A724ADCA54304D3DDF434924E43EA765BB62EC3936EB181DCD1A2AF712D5F370ACC8F7E6B46A4CCC3F11AE97", + "mac": "D32156A5DD23A38628CD8B367E77D61A5CAC83D1C13291AE0B95DCE592F38722" + } + }, + "4": { + "owner_id": "1", + "designated_id": "4", + "designated_sequence_order": 4, + "encrypted_coordinate": { + "pad": "934FC7221F80E385", + "data": "B91990566B4CF4AEF90103763E54BB1C90E0C9BF14DAE2E4D7A650CED88464ED592F2470F1C9BF74721671ADD57FF35C063248BB6C3169B4172EF7479851297A485D28E56ECA98FC3BD31AF8CB1EACBBA6C249C44855C2734420E3D9F78FD3B1C424DAE67922B078D8F98A5D8B7D0FE85339A46C4ACDF3FDE94FDCE621B48995E61E76EB1EFD7ACBBBDDE74FFF1519685ABDDFA1A473FE8D665B75861A2AA7887B7844C31C840D38F3FD803C234FDCBC57A55A7D6E3E827DC4981C4A02861F5EC91ECD412EC0A33F42637E0F0BCDDDD2770B90F8A176EF2F6982589594A73462BBCEA760C192CB903D9D4533F7E9B4E1D69B77E9BC8D1A8D03466FA23C7A39B37249587E062BEEA4913433C083E69F1FBDB9214CB2C5CC5BE692DF7BEFCCC1F47AB5F7DE06AA975B7DEDA6D0EC6FC312576797081FD4F8B8052EA2E2F9418D3F7E6DDCBF425CE61C197E385F23EFEB9013038BE8F1AFB390177A6318C117E19C91F4DC3D059FB6E45E89B075381B6396FDFD2717B794884F36BD8606AB12E1CF43A8448725500E31B2DF64A5FBC16BDC676861469ADDCFF145976426BDA53742CB0240450BB4594A82A927E62B0F63339367E0E3E86CEC1B06B93230CFFDBFDF28A73DA0D2457960EA03F2644233C30F37B6634D1B2ACBA54C9F4320E62F1FAD280E81CF176A032157EF45A833C01624C2CC0137DDC8CC47CEB739FA7B4827D4", + "mac": "38E0DCBD0323858E7BDA873C29D07D37C38481918DB0A8ADD9D88218F50CB5A5" + } + }, + "5": { + "owner_id": "1", + "designated_id": "5", + "designated_sequence_order": 5, + "encrypted_coordinate": { + "pad": "77EFFAEC3766989E", + "data": "A0A68289080CD64DEE56BF18A9A8EAF27291C52DB0AB691B6889C400D0DB430A94AF1D268E972FA0865B9E3F88B7EC97D1DCAAE291C78473DE3561969BA33971436400F7F8FD605286A5745AE101DF9F532791058FBBAB5DB473B7ED8DD0D19B61626DC01F0242DDE840DEADAADD816A35F4B0E893B125390B01C5C8429B2E1F077A33FE71CE403F50D7E9412DAC482100118BF93DB090EE513B7FFCE1520DEF7DDCF3ED8E5CBA9535DCAF2282081180864D90318B3F55DA3F30AA2EDDC09DC48CCDD53F09F421CA7420ABCCE7C863115CEBCFFB610476A18BB3CC0648BDDBBFBE2D7B8A8577DD3BA81D0C306370127496FCEE99D24C1D56C7CE60FB6C4C77ECA2BA6D196C0F04A13B3B1757ADA7A270686FDD59A16D8DDF9C01801547F9934949CFA37CA3A0B6ECF11DC822DC8362AA195A9F1C75DB6B3AB6360606299D6E3F537085507175BF0CF16F2EAE174FD9F6FC7D47D055B9B432C8030ED973EA3598010800B1E566B6F1ABEBF34D8F1F2AC2888DB8BE39C67C83AB0A630B3833A18DB2FBD23C59A8995346B399C0BC733DBC46004CA74447CAB0105887FAB187AF82DFACC92D1988974A679F6174BF8E4981B9D72064EA49FFA0B676EE03D51236E166BF6749E257789B02669E7408C3CE1F35C891EFE7816A7401E6CF109EE58DFE1E815DEA3C5C3CBC784ECD2DFC42D89D3512ECD683BB76F358E6EB02770A03B7", + "mac": "77E5D344B1FE80C428F8C649FBBDFFE77938744F0D6102E12FF5169B7D518A39" + } + } + }, + "guardian_election_public_keys": { + "1": { + "owner_id": "1", + "sequence_order": 1, + "key": "97A8D061E44D3C4A", + "coefficient_commitments": [ + "97A8D061E44D3C4A", + "060C693748D0A269", + "049E7A4F1F55A06D" + ], + "coefficient_proofs": [ + { + "public_key": "97A8D061E44D3C4A", + "commitment": "20C3FD348E1EC7C8", + "challenge": "38FB", + "response": "D362", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "060C693748D0A269", + "commitment": "8E0C2178973355CC", + "challenge": "87F2", + "response": "36BB", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "049E7A4F1F55A06D", + "commitment": "962E88A421C1B6EC", + "challenge": "0B37", + "response": "C79D", + "usage": "Prove knowledge of secret value" + } + ] + }, + "2": { + "owner_id": "2", + "sequence_order": 2, + "key": "F2FE3AD6076B04B7", + "coefficient_commitments": [ + "F2FE3AD6076B04B7", + "A4B06C1AA221EB0E", + "E65CA77B5458157D" + ], + "coefficient_proofs": [ + { + "public_key": "F2FE3AD6076B04B7", + "commitment": "409753D0E20C3172", + "challenge": "FAA5", + "response": "E156", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "A4B06C1AA221EB0E", + "commitment": "C47364718E80E034", + "challenge": "9D5A", + "response": "4592", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "E65CA77B5458157D", + "commitment": "C85CC359ABBEF28C", + "challenge": "1E5D", + "response": "9A71", + "usage": "Prove knowledge of secret value" + } + ] + }, + "3": { + "owner_id": "3", + "sequence_order": 3, + "key": "1088205F42AB5C7A", + "coefficient_commitments": [ + "1088205F42AB5C7A", + "AB9AC308618AA1F3", + "4B6AEDB1248D71EE" + ], + "coefficient_proofs": [ + { + "public_key": "1088205F42AB5C7A", + "commitment": "77A5758CDD23FF54", + "challenge": "F085", + "response": "CB02", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "AB9AC308618AA1F3", + "commitment": "6A66E9B71FAFFE2E", + "challenge": "6CB1", + "response": "4D04", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "4B6AEDB1248D71EE", + "commitment": "2BDBA187D908F515", + "challenge": "4B69", + "response": "F3F3", + "usage": "Prove knowledge of secret value" + } + ] + }, + "4": { + "owner_id": "4", + "sequence_order": 4, + "key": "F06736A826B83724", + "coefficient_commitments": [ + "F06736A826B83724", + "3469ACE138CF8FB2", + "5963B613BAA1C688" + ], + "coefficient_proofs": [ + { + "public_key": "F06736A826B83724", + "commitment": "A79C3111EA089081", + "challenge": "B1DC", + "response": "C044", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "3469ACE138CF8FB2", + "commitment": "4495A5521C86B1D2", + "challenge": "801F", + "response": "1122", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "5963B613BAA1C688", + "commitment": "1D358AA0A482F947", + "challenge": "FF9F", + "response": "5E03", + "usage": "Prove knowledge of secret value" + } + ] + }, + "5": { + "owner_id": "5", + "sequence_order": 5, + "key": "476FD37B192A21AF", + "coefficient_commitments": [ + "476FD37B192A21AF", + "756CBED3F970A1DF", + "899941DCAD1AC6C3" + ], + "coefficient_proofs": [ + { + "public_key": "476FD37B192A21AF", + "commitment": "CFDA4A4B8EC4D2CA", + "challenge": "19CF", + "response": "022B", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "756CBED3F970A1DF", + "commitment": "B99382552A4DB305", + "challenge": "A197", + "response": "DB1F", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "899941DCAD1AC6C3", + "commitment": "D05D26F884BCFA41", + "challenge": "2480", + "response": "2620", + "usage": "Prove knowledge of secret value" + } + ] + } + }, + "guardian_election_partial_key_backups": { + "2": { + "owner_id": "2", + "designated_id": "1", + "designated_sequence_order": 1, + "encrypted_coordinate": { + "pad": "809723CE3376E055", + "data": "F65D19DAC989E35CED4F89D185C061778FEA0BD3379839D94A41996C4B9DB5A38A0B8E930F67FB36FA45DC87A3A1441A94BEC5FF967B4BE6F2037D73B389A7A191136A3425785390483F4FAA8A4718D0357867EE43A491B79037B122777D60F977DAF370112543AE6F5A511B76D54DA9206103735CB2B30749D66677B2500E316A26FC808E949E1D1B47A70E3C4443EA39AC4DE993ECECF0E036782EB108F2BCC32BDFA72C4A38BCF84B17F4A3AC840B6243895E32059B5C5BE45B760452E7115ED7AD61791B94AF25C3606AFE68AA39C4B8036A1B8B8CF90EC209B9EBB27C98FD7A824087181A1A19D78F66DA0B69DE35D59FD05625339C1D50A3EA33513EA9B952A73DBD2C7CD276829D83A95BCAD4045EBEECE4B50BC233FA0C114C5DB5218DE67FC0BBDFC8D745204FDCBE97C9AE1169D02F1543D6460DAD00BAA2D929290A94E4753A26090313E438C951195C23EAB443D67D0AB52FB3F54CE54F114B329A682A371DF22AA9A25085C81992CB56D6315381570F93F37895F339E4730E2A4BAC63CF394C8237F3C01B7B468CBEC153D8185B64400769F798282C1F1954029129AAB48C91A7CB8F8D9C13374FA08189EEF08F1073371BD5815D005D789B3DED2AEF7834F5027C47062A00C3A32BB2C2276AFA86049E16B89590A7CA61CCE3F6B4AACEB98A5D9233DCFE3187D9FF1503CBD92709D4A6CCF1251D8A64FF0A23", + "mac": "4EFCCDD0577B28B679515B25DDE021D94E6114EA5567066C7E02E7190BC864D6" + } + }, + "3": { + "owner_id": "3", + "designated_id": "1", + "designated_sequence_order": 1, + "encrypted_coordinate": { + "pad": "F81B840CFE2C6F28", + "data": "F299214292DDED4A68EF3A5E6D686437DF071D498A4B885B7BB490A54FB90B53D45F942BD66CC143CFAFE6CD5EF478458AB7D54863FDB8132C43DA8DDD8A3902FCA8F2053E5D30E7125D73D8012490D89BE98FB8FB64AF4700F325F60381B2991CB5D9683BDF31D1C1C6910C5D42FFC064B61CBC0C1E17A67338E10F0368DAC095784EE4C37A601CE0D39F6A3F21C2F51E67B2D2E08CA609195F1FE28B19A3293DEDB6FE34CD532E76049B56C8DAD2C2F4DD1785F2B10FF2B5718BEB070511D3508B57196C8AD47DE33CB8139B97108E1EFC562588AEB93E6E5B6FC8383ED0025D8E711309E2C59657A7E396B953CCFDD1AD5C923FC10F95D332E397908B891872963DE1BCAD965926CE48E7745010571FCF7519E1C8C41B1F2614F5E2376111210A9567661A9548F951D6DD21CB4823473A53CCD6E242D4F9A37006E7695457C5AD36C4DA50405594C67E3F4F07FB73F3731E0D223742FDBB740FCEA3A5791FBE8F5C260AF7E1270972CD7A66F6271BA0D264FB882975F79F336908B08ED30FED8AFA1E2ED1DC1896C29149766ED3BAC594AAD5224F93E6C841CEBEB971EA68803318CF8F6C17D4C094F8BC92EFF09F0BA8754D756CF7F1C73D59DB2782F879576C4356E1CB62C820792C92E0CFFC0698BB44DF67A84D23D3CA2F30990D3F21E1566A658D282BE6076A88D72B7ED0E5D0EBD8AFE715085DC86B7E5D252DF86B", + "mac": "819C4FD4EDC41385043BB0B1F04C044C3FD117EFD50294B6B1C247F8F15B6327" + } + }, + "4": { + "owner_id": "4", + "designated_id": "1", + "designated_sequence_order": 1, + "encrypted_coordinate": { + "pad": "9AF0E0EBBB435127", + "data": "6B5AA4F629979842C3C26483A5EBD093030EC794458A9268D0B00DC82A2C60A1598DBD2BA0252E741D751B0347C11935FDB0BAAF5B9775FB38A9C36842D1C69B51050FC1E132A41213960C6DCAF94D4BB4C0AB3E025980F54B9C6E56628C800956E66DD680FCB1C413BF7368F2C749D8DEC744B24053CC8204D1A111B5F9FE86844BB9EA68D0626D445DF05F4E225211656A6671E1386FE25405476F7E51E31A776620758EB9F012E91ED584E6106BF12F8CFB2656E36095AE858C7584277F541D5067A4CD763F62F788A337A87D38B2D0CE7B58749910AC57F1B6B7605132B3F62E723222383A52F15F5767AA3F084B86B94921D4767438034B0A23401BFA32EEA937E8E7A4405DDDE3445DF5F7EC123B3878A3F3FBDABBB8FC0A4CAD9188AF35BD30E5E92CBC46DF5096ECC98FD16CF8460D3133A92849B8ED4FDBEF8847FA2BD6B72C89B6CBB7B933C67A329F34A2056A25C010B8E5B0854490CA18845D5B4EB70EE4DD516FAD962D693047D02726517FD76FB81C138E7086CA917204FBC264BADBAB95284FF0EB47ED36A477F1C1DE62CE5D2908382DD827B19C77F23C8A81EA384D329B886151B41E0A057DDD843F77AFF90BB743C3FFB24EAA7CA6AA3A33DFD300FB380A2CF67C1B59A05F9C79C662488B8C03054849405826CEDDE4A16C287FDDF6280E39907B2B40B903063FB65D18F5664067B76C54512EA8D588B1", + "mac": "431E8E00C79EE6728D8BE5A9D177DC87FBE6E3D596772F75416123A86AB6B01E" + } + }, + "5": { + "owner_id": "5", + "designated_id": "1", + "designated_sequence_order": 1, + "encrypted_coordinate": { + "pad": "DB2B2136E1FD7D91", + "data": "16EB751C2E3E45222958D1B4B507471F55E8CCCBB565E587C71D6E97E260AC502C645FDBA266E8E28DE09D7165347BDAB8128C35B11250D995546033562A734966C903FD35EDF62EF033C7FA3F010C292A8AED72B1018B3BB70AD4151D71055235589020E742A7DDC86F6280AA9754E6CACE7705B27B133961786499BBE688938C91A965DBDE5322C36B1F06A6E53443A7506C35D3161E7C15E083BFE0E10C02689842AFFD4905464B2889A16E5F28C6505B265661B78E858F51A27F691BD3E59582368F2049DED0FBAEEDFC3DC3CC292179B6274B31407205491370FF86E798AD0E97780821E2D83A2F92CB48107AA8DFCAA02AB0D76D09C3512E37D84D4B64B6C133DA6516EE1108431614914B6FE29C81BD53CC874F23FAE687B2137E859BC56A58B477962C89DC1C99A7AA1451F05BD4E5C9DFFEA14B50433F6F6CACCC22554782891059B64C0C3E157301F5ED6AA4CC23FAB560320DD5CE16DC9CE32BD57F24C26EDFD630041C2423A993F2C3603FC2939C4877D4348EFA9EF10FB64F698792302CD16389D56C156B0DB15D8D49B3AF38B143C32C59D1BFD1C1308DC6FA4EBDFBFD1F711AAFDC112FD1BA48AB2C1DDF50CADD250787917AF67953FE474A3C5C8262BCD225451AE77CE8B043489E74BE277C76CE99C937739D19C6108338A0BF2AFD6D36923F8C64C5BCBAAC2E729C874FBEAFB97808E82BBF47F182A39C", + "mac": "85192D8D8F501B89B14224981EF68810A24EEB8EE58FA0BCA02F5CE3E188C3D0" + } + } + }, + "guardian_election_partial_key_verifications": {} +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_2.json b/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_2.json new file mode 100644 index 00000000..80027afd --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_2.json @@ -0,0 +1,310 @@ +{ + "guardian_id": "2", + "election_keys": { + "owner_id": "2", + "sequence_order": 2, + "key_pair": { + "secret_key": "5E26", + "public_key": "F2FE3AD6076B04B7" + }, + "polynomial": { + "coefficients": [ + { + "value": "5E26", + "commitment": "F2FE3AD6076B04B7", + "proof": { + "public_key": "F2FE3AD6076B04B7", + "commitment": "409753D0E20C3172", + "challenge": "FAA5", + "response": "E156", + "usage": "Prove knowledge of secret value" + } + }, + { + "value": "285B", + "commitment": "A4B06C1AA221EB0E", + "proof": { + "public_key": "A4B06C1AA221EB0E", + "commitment": "C47364718E80E034", + "challenge": "9D5A", + "response": "4592", + "usage": "Prove knowledge of secret value" + } + }, + { + "value": "7CB3", + "commitment": "E65CA77B5458157D", + "proof": { + "public_key": "E65CA77B5458157D", + "commitment": "C85CC359ABBEF28C", + "challenge": "1E5D", + "response": "9A71", + "usage": "Prove knowledge of secret value" + } + } + ] + } + }, + "backups_to_share": { + "2": { + "owner_id": "2", + "designated_id": "2", + "designated_sequence_order": 2, + "encrypted_coordinate": { + "pad": "941692644ADC6561", + "data": "DB0113A79F693958F100F9A96D8EC14739B5256B0C91970DB0E34DA68F5F5193296735F530446C4EA447C703DF85D9CB107D1FE8CD2ABB89A36B931EDF1DB88A798B5E577781E8FC667264053E06BBC9BB5DA3D1436A6AB8C354B360B9B8BFF94334941DC84D5E5F37D21C61C1503F975A3CD7DC5DE4913071CBD6F0E3F9B538144BBA192BEB6E0559032DEB7503C8701DDF91F1EEDCA99864AAA15BC6FE0BDAED0673E49A84AA39B65B8773086EF1284B0CA28B55FAC0792DCEDB7711F85F8AE487A89071BA0002AEF8B61A2DCEE334F63B9A5F19C6374798AD410E1028D0653A6C667A9066FE950E23DA0F1F314D95555B85826B607CBEDD807C245565EFBF6C2B45446CA76828BF7DE7D0E3395E2F751A45A42D8A6A35F59C443F31F932E42EB4B1A0913321CDC0997D2A11578628847431A41C7C70B00429FED84FED348A9E7529D2EA8214F689B2C1078A4762B035828CF7F26B77317EB16210D8B5653B4D14856B13FAFD92651DF9806FADFE372F62A584C8F56C965C055DB7EA1C2330346EBD072FF9E67977F8B55A15953097990319193597B31AB548E76B33F08DDC7994F401221124365678B06510243024CE45F2C0DA5CC1261B037E225CB43DAC367860CC44DEEA66AE1DABFF94415343038F790B9FA63BC567E88ACDE232791EA133840BC6899C125C33B4F53FBCB05E4E5A8E24C42EB753C20D08772A69FDEB", + "mac": "8852317BA689DFD9A41CAAB1A6EE7A58BBFD0FFCE0E65D935D0F3A27D6C92DE6" + } + }, + "1": { + "owner_id": "2", + "designated_id": "1", + "designated_sequence_order": 1, + "encrypted_coordinate": { + "pad": "809723CE3376E055", + "data": "F65D19DAC989E35CED4F89D185C061778FEA0BD3379839D94A41996C4B9DB5A38A0B8E930F67FB36FA45DC87A3A1441A94BEC5FF967B4BE6F2037D73B389A7A191136A3425785390483F4FAA8A4718D0357867EE43A491B79037B122777D60F977DAF370112543AE6F5A511B76D54DA9206103735CB2B30749D66677B2500E316A26FC808E949E1D1B47A70E3C4443EA39AC4DE993ECECF0E036782EB108F2BCC32BDFA72C4A38BCF84B17F4A3AC840B6243895E32059B5C5BE45B760452E7115ED7AD61791B94AF25C3606AFE68AA39C4B8036A1B8B8CF90EC209B9EBB27C98FD7A824087181A1A19D78F66DA0B69DE35D59FD05625339C1D50A3EA33513EA9B952A73DBD2C7CD276829D83A95BCAD4045EBEECE4B50BC233FA0C114C5DB5218DE67FC0BBDFC8D745204FDCBE97C9AE1169D02F1543D6460DAD00BAA2D929290A94E4753A26090313E438C951195C23EAB443D67D0AB52FB3F54CE54F114B329A682A371DF22AA9A25085C81992CB56D6315381570F93F37895F339E4730E2A4BAC63CF394C8237F3C01B7B468CBEC153D8185B64400769F798282C1F1954029129AAB48C91A7CB8F8D9C13374FA08189EEF08F1073371BD5815D005D789B3DED2AEF7834F5027C47062A00C3A32BB2C2276AFA86049E16B89590A7CA61CCE3F6B4AACEB98A5D9233DCFE3187D9FF1503CBD92709D4A6CCF1251D8A64FF0A23", + "mac": "4EFCCDD0577B28B679515B25DDE021D94E6114EA5567066C7E02E7190BC864D6" + } + }, + "3": { + "owner_id": "2", + "designated_id": "3", + "designated_sequence_order": 3, + "encrypted_coordinate": { + "pad": "298EEA4C1A950B", + "data": "9F32B1B521B22B1240BA666A7DDE38E9A5EDFF36C6809CEFF73DFBB2F8E8F0A7BC7A2E1666FE0184A979C60156FB34F06C176E65B8C192D20C4F30B90C1F9C5F08DEF243F159F27B74B7E86D5D8666708FE8DF9E7090A098EE1AB4CDA29782EB2F45E7A284606B17B115AF85571D69D08098432E96E46366C7306AA25E5A2B801C49A5B2764D8C63233B4BB6A9A751A565FCDA5BB9267FDB17A4552AF87BF0F1234F98DCA5367F129E19D07F4B7FCEC6B52A323B34A38D11316DD9004B8E4E69B1089D89A7C621A95ED8D8B646DD5B50765E5B644AAF3ABA02DD7262647E6AFCAD0972FA8F01B87DC5ABE59C809E88425EB649285E694A3C0F2B751E4B71EEB5B2BA60E640B1D1B1561FAA1248E48227A206AE2CB63171D426B185C74B1BD5809D57AE03B0215705AE2BDECEB07D8212CBDF9440CEA0064C95217217508FB8BFCACEA80A046B34A34CEC2E2B4511C3846E6E4BFF2B37C81C70DD8E1E6388FC38B91D9463CF4A3ACEDD7AF468ED8CC79CDFE97E655C5A28DA4A07867957CEFAAC8694BA0E8B89D1558E4EA081ACD16943946C30BECE35859090AE74938D8787DBC51DFC327939417280CE95DC6558ADDDF8365D21BDA8303A8E73D6C4723009DC4EEFBF26FBAAED607A00F3321693F26999FC4B33CA7114E0E67B4A3E55AC875E91744A0792583FF654F9D06095061935F4267F391F9E6C6AF024EEB538F5A4A2", + "mac": "4588B9C2C51E3B22726E42AAB9B2CA7B7B2805C2604553E350AEEB7D05F7F711" + } + }, + "4": { + "owner_id": "2", + "designated_id": "4", + "designated_sequence_order": 4, + "encrypted_coordinate": { + "pad": "AE4B8A8D81C5A275", + "data": "6B96039279F58F618FCF18474ECC4276BACAF99DE152F4500D86CB084062440A302DE3F15347D24DC496C9AE5325B5A5777F8B163229AB69F33BCCC0F8D82AD076F1FF72BB7F2606D20FB09A11530F0BFCFA502B4D64C79632666BB2F25183C10CC3068F0E68A149BBAF9F0A4E2C7C7ED5E412824324C412ABC34DC78D50EF355BAE0E297BEA8671BB55A055FD3BBDB38A8B853E03709A6BCC3B12F6A96023D47C53E169856BFAA0F929F4481AC9A3FA314CA1EC94E931D66FABB3C5723055AE28D05AF9750CD75D99C7AD83A91A09785D6EE2FFBDEA1F47907A284B8B45B481289F16C66EDB16A8A2BAF19DFBB114F566E222D9EE61874C15CA179EF966929D6545E9F8D637F7EE6867EE8664B1943BF4B0043AEECE13AC74ED7174C4A660E8F6CA8DEA41934BF6FB290FF50535CABD95CF8867CD032F0FF3136F07CD290AA7CB7574C60CAFEE534C23CB74C049B232A107CD5B992B8CEE4F6C2840A7FF5078A4BEB65250829BFB96DDAA1AE31EEDA305B51DC58EFAF1424142F079FC912FF645F914AA18AAC922A3AD4FF3A800B02C94DAA3E8C4A8FD62EA16CD367221B73A9B3E60B6FFBD5D2101E8C5612FEFEBA3BFBA2C60797ED9F1E858884AF948A1E01867C2A74F165CF8EAD7FD942BFD30D65C8444DBBD2CFC581A658911B4ACD880A26F25C61FE37C99B5D228D228EE172FD93D7FF7F1903308A567348D0D385263", + "mac": "C6260EBB5123CA43D8F6C9281E5F9C20D3C99DDFA46C3C866B372981D3D41654" + } + }, + "5": { + "owner_id": "2", + "designated_id": "5", + "designated_sequence_order": 5, + "encrypted_coordinate": { + "pad": "DD649627F2FF3A1C", + "data": "E9D903761E3339CC7D83A371345AB74EA153BDA6267275DD64AF7A5F7945AE91971C03398FE450ADF38DC7E72C73CA1C211C5CC080898AFF1B51D425778B2975DD00703188C57DE7FD73B1092F8E83A575AEF1B68CB6E8D6F3E35155E0E64C7DA68AB881AB0481909BB3BD273B18A0AE6F966FFF975EAC04AA719F83B1E426EC9AAD908939FEAF64DA34BA7825AB6B8830E9B4191E0B0321641512B42720E77E2996BC609D93A6CAA035A60C1444D82EC0371F0480A16B9987DE7B3EBAB711B324D3455F58333D1AE778B46F5E50EC4713707955E5E00C14123B8ED488421A2CF5EAAED3E2FA3453FBA16DDE81CD67E9F39805C16D7D6703A371BE6317107DFEC8474154E5424523745C04421A7498FC02522BD09D30F439DE5354E9472DF859BBFB5F8F856782FB11DF367A7EEA822765C726EDC5E79A78897F9861D0E83D30B0AD91F0C9438CE2A97E73AC6637EF1D4B94C77BE3AABD20F3679918A0DD0C89359520A172BE759272F6BADC3AAC4A464C7C91CDF44415D65926A49995DDFA8803663DB18996BFF2E6C2379D94F8EEA33ACE9E21DA3FEB49DE733240A7EEBF7881F8068058DF75CC45CB0768414A3512FEB1ED67CE5181863F0FF4A757B6EE3C3E1C0141635F41F748AD22C6DBA361EEA2C37E9E2C0EB1A226EF67C3BDFEB77FCD92797759F2122D950A56D66F00617E7AB2D1ED8320E2C99B46D2105BA8EEEA", + "mac": "0BE6FD782743CFC495B014C272471E2037D490479ED53504791DD2B8D6B304A2" + } + } + }, + "guardian_election_public_keys": { + "2": { + "owner_id": "2", + "sequence_order": 2, + "key": "F2FE3AD6076B04B7", + "coefficient_commitments": [ + "F2FE3AD6076B04B7", + "A4B06C1AA221EB0E", + "E65CA77B5458157D" + ], + "coefficient_proofs": [ + { + "public_key": "F2FE3AD6076B04B7", + "commitment": "409753D0E20C3172", + "challenge": "FAA5", + "response": "E156", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "A4B06C1AA221EB0E", + "commitment": "C47364718E80E034", + "challenge": "9D5A", + "response": "4592", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "E65CA77B5458157D", + "commitment": "C85CC359ABBEF28C", + "challenge": "1E5D", + "response": "9A71", + "usage": "Prove knowledge of secret value" + } + ] + }, + "1": { + "owner_id": "1", + "sequence_order": 1, + "key": "97A8D061E44D3C4A", + "coefficient_commitments": [ + "97A8D061E44D3C4A", + "060C693748D0A269", + "049E7A4F1F55A06D" + ], + "coefficient_proofs": [ + { + "public_key": "97A8D061E44D3C4A", + "commitment": "20C3FD348E1EC7C8", + "challenge": "38FB", + "response": "D362", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "060C693748D0A269", + "commitment": "8E0C2178973355CC", + "challenge": "87F2", + "response": "36BB", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "049E7A4F1F55A06D", + "commitment": "962E88A421C1B6EC", + "challenge": "0B37", + "response": "C79D", + "usage": "Prove knowledge of secret value" + } + ] + }, + "3": { + "owner_id": "3", + "sequence_order": 3, + "key": "1088205F42AB5C7A", + "coefficient_commitments": [ + "1088205F42AB5C7A", + "AB9AC308618AA1F3", + "4B6AEDB1248D71EE" + ], + "coefficient_proofs": [ + { + "public_key": "1088205F42AB5C7A", + "commitment": "77A5758CDD23FF54", + "challenge": "F085", + "response": "CB02", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "AB9AC308618AA1F3", + "commitment": "6A66E9B71FAFFE2E", + "challenge": "6CB1", + "response": "4D04", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "4B6AEDB1248D71EE", + "commitment": "2BDBA187D908F515", + "challenge": "4B69", + "response": "F3F3", + "usage": "Prove knowledge of secret value" + } + ] + }, + "4": { + "owner_id": "4", + "sequence_order": 4, + "key": "F06736A826B83724", + "coefficient_commitments": [ + "F06736A826B83724", + "3469ACE138CF8FB2", + "5963B613BAA1C688" + ], + "coefficient_proofs": [ + { + "public_key": "F06736A826B83724", + "commitment": "A79C3111EA089081", + "challenge": "B1DC", + "response": "C044", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "3469ACE138CF8FB2", + "commitment": "4495A5521C86B1D2", + "challenge": "801F", + "response": "1122", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "5963B613BAA1C688", + "commitment": "1D358AA0A482F947", + "challenge": "FF9F", + "response": "5E03", + "usage": "Prove knowledge of secret value" + } + ] + }, + "5": { + "owner_id": "5", + "sequence_order": 5, + "key": "476FD37B192A21AF", + "coefficient_commitments": [ + "476FD37B192A21AF", + "756CBED3F970A1DF", + "899941DCAD1AC6C3" + ], + "coefficient_proofs": [ + { + "public_key": "476FD37B192A21AF", + "commitment": "CFDA4A4B8EC4D2CA", + "challenge": "19CF", + "response": "022B", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "756CBED3F970A1DF", + "commitment": "B99382552A4DB305", + "challenge": "A197", + "response": "DB1F", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "899941DCAD1AC6C3", + "commitment": "D05D26F884BCFA41", + "challenge": "2480", + "response": "2620", + "usage": "Prove knowledge of secret value" + } + ] + } + }, + "guardian_election_partial_key_backups": { + "1": { + "owner_id": "1", + "designated_id": "2", + "designated_sequence_order": 2, + "encrypted_coordinate": { + "pad": "D8FA60C615885163", + "data": "A2EECE6117C1BE7E76B64C574A7F78CC17D14DD0298A71D7AE742C73D9315BA0098C8CAF9DC38D5459706A36F182A452610003DA3E264FD24D09F21328DA2F2A30BA99593585C90101F4F7BDFEAD8DCEC35E809CCD9AF5E76BD2C9AD7474FBB35E1239FCAEF9817538415589FBF8030DE01C28445C4A3F1D7FDF139BB2B458F6B22B74A903436CA731A4B4C250580B367FD909012BD33DF1931007E9564691262FBF9FFC2433137F15D81BC35C2EAB07116CA1281DF5DC95E97C7B3F911FF9AD43C4B96070293E2A3B0BAB3A0702ECEE68D681E3893660F740E196D4C12BE553A711FBE85815E097F027702C23CCEA3874C1C9DD8C9C5636CE08162D2845885708FEECB257C4DB6C38534FA49FC7ACDDE53A2E818CB945EF51E77A9158C8D03557895F0BB0E58148D0CAFC3DD6D46DDE12EF70A8675CBCD816E9C8601902AB7B2279462D3D61010E13B5F21381D8163056CFF1FABB0A4291DC774908AD67C7F64009C33FA8E99A4D6399DFC5E03C8CE3D98D7681EE2E456E52312DCA3984D352A9D6B8B55F0199F952E786D22966D2521217E4263E19B8036C542C9B3097B3E9E44C876E28250C20700C89C4990DDE8F8C462E7531C3F69AA976676A23657463700BCFB849F82F3579A6B6AA21EA649D16E77FAE2FD9F4A5DEB787E0D1E815371D63B0EE50C2EDA8853FF5B63815FF6A6BEF86F45B4B828ED9612225DA14845F", + "mac": "826B9133EB46B2D9D67524341D7033F73A1C6D66AC871341FA51CC9B874320B9" + } + }, + "3": { + "owner_id": "3", + "designated_id": "2", + "designated_sequence_order": 2, + "encrypted_coordinate": { + "pad": "5A8493BF589CC61D", + "data": "B65A70E3CDF9ACB3ED928A7A915AFED2CD24865C3D5D6FCB07FA16824A21681625D7A3B84EDE376F38ED57E46EF3BEA067A02F748786955F29C876ADD47153EC600CF0C578896A76173DE1C1C05574F087330267C5EDDB47916E4E9DF9986A186FFB2663A276BAF3F95ECDAFC40DB55671F84B9A6A6074510D195CD0DBA6B6C4A2FC2F64F99830A1E4A8EA569EE380029805DD276BAC9310301AD0E0121384C163F03F97D769783B009603307534C084855858A3740E690683077B43ED19A8750CA6F2FADBB2491A9FA49EAE9EE752B4356F5B11961BCC64E0868E09FD7BE000F31DE1429D78537BC4FABDCA4A6742AE5CE716D14A6640496A35E6ED2E47C4F66958C314E18CE76114A1A82DE005512B5316D4B82EBD415572A99002F52A6C5B9BA25E6EA59EA5B71A954E4FCC1CBDD16FEA2A189B1EB6BA1B567A2B6081D3E8FCDA69BC5DB46FF0F35E7036C4909700A02ED585CB4A3B75704134366FDD3E2E4B5435F9BD7CFA68624C05A96C30D83ABF47A1138FDA26F13A1649BE7ECCEE1EC4D8F737715B82ED8B2EFF7764AAC70EA07213594A6EFB3C9980E4BAE437FE3DAE497BE4F02BCA181E6557BF93A1F8BA95B6D9517FD8EE5587CE5F22ABB1FEC731AE5D23B503B44AFA8C36053D35D2CEA1C94951C524DD1B49935A07CD4368EEFD0EFEB1516E5696494513E1271F5EEDF03634CF77EF9BB88AD6ECF698A708F9", + "mac": "78DC99908039490C490CFFD680A866B12FE93FEA1FD6FCDC14A988E19B54E8D2" + } + }, + "4": { + "owner_id": "4", + "designated_id": "2", + "designated_sequence_order": 2, + "encrypted_coordinate": { + "pad": "1E7ABA53FE25E624", + "data": "B41F923F585C234EE95FA3160BB657C484281CB2300DED2AAA35C0AFA447274DE5C51D57BCF0A92C8F35AB6137AC453DBA58A2CA2EFAB0A9D401D4ABC2D0A051B6A482CD2BB5E995496D2D411779BB07004C6A61E83396DC6362BB0D78F90C06FED721AB270CECE62DC20DB3FDEA7E7D98395929A525579C17B23E63EAB3443D3B33C8D75747D07FA14D0B21DB8468945B101A254B5A8EF89F4319AEC8B3358CCEB61B87C8958875AB620D0D18F8EB4097B71CD05459F8AD86094F342D1126796F72AB3E5B0F4876A4ABE2A44C5AA710BBE7A7CFF0A9328A79F01026ED2BB2083BBB528429317901F008B020D79520301FC12FD2310EEDDA622C4BA65AFE2F3CEB33CFD324BEF7B25C66A889AAAB01F6DC9200EDEE1FFC66E427DFC36D4C1D69948B4434F2637F37A47A35AA91475AEC7EB43999AFC0A6FF62736EA36ECEA551073291F3FCD40459FBD17D53F749FF2A747DE6DEB6E8F82D8E820ABD60466599A57611BE2E47C618A22650239580A00573F7ECF903C3CDB5FD30135B4E495BF1FB580BBC8724433903833D781B68B3CF1F2F79C657B41C53A3698896FCD30D51F663001DD8330701FBDEEA21EAAB771877C2DFEC1145ED0E16ED8140439B42E881C651444AEB312A4ECD4DCC20897FF72A316567CAB169C4ABAB264BED6CCB3D0510AADF6FBD4A50964124E0FDDA03651D8C4B28D7E4C3700139422144F1CC27", + "mac": "2FB925903F75490C987003ED8A6BF144192BB277B40148C4FB3BE43F27B3C4E5" + } + }, + "5": { + "owner_id": "5", + "designated_id": "2", + "designated_sequence_order": 2, + "encrypted_coordinate": { + "pad": "C5ECB514FECC4033", + "data": "D13F79524D8A40C2A0F1ADA851879FA0D49D578BFF0B02A1F514B3F223E96C8BA8387DF78EB838412065EE59BC73A55E1F7BC36045298B6876E0A369E7B58680C868EF27736E3EC6111DE3DFAB5BD285AC95AAF122A6E3CD3D87B830DC219A0EF4D372633BA31BBF6203F68D350985D0C948229344071F2790272FC8A7672C05BD81EAF1ED3C202E39BD48698F7E461D4AE0251CD86AB9D5E7B9DE3369006F70548E313FFAD19EF98D5F23C724B7867ECD20E233C8D34D53B8308ECD480F982435D1A5434F9FE0A4F6079A5F008E0509D1E609591438B772BE1091B98A53B45A968C3690155C1B67E6BC393CD8B5A1E49A0AE209DA1166A571E5F56B685B0C9C1D258DB1515A8DD4E3994CABA6B3CACC7285352A1C303844B55E0EBF687D20A88612BBB3D971F59F34CB0813E75D4C0AEC5E48185847EAE88FA41B63F56BA120E494CFCDF1F00E3B9E28108AF07E67792373074BAED8611C545D47B755F35C19A322AD5C31E3197539542F04744E7B556DA84E2439179307403C1A49D665E0CCDD90B29920B7401FA1FD07175CECA0362AD85211BBCA11C65D521333BF732A953A4B4156E90FDAFF40F05105AB380DEB41CB1049AFDB395812552FB96E45F9D58E356DF50A8A34EAF66812415822B87B54934129B24B46DF5F4A67A6D62AB022B65FD2E37D46F88A8391EE9F380D877BF0C86006B7BA307D34C2573C88AA2BC9", + "mac": "E1CCDF473A8ADB5719527266BE5F7806D59BAD7410FE685C8F369601B95A9C35" + } + } + }, + "guardian_election_partial_key_verifications": {} +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_3.json b/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_3.json new file mode 100644 index 00000000..11a090a1 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_3.json @@ -0,0 +1,310 @@ +{ + "guardian_id": "3", + "election_keys": { + "owner_id": "3", + "sequence_order": 3, + "key_pair": { + "secret_key": "AA2A", + "public_key": "1088205F42AB5C7A" + }, + "polynomial": { + "coefficients": [ + { + "value": "AA2A", + "commitment": "1088205F42AB5C7A", + "proof": { + "public_key": "1088205F42AB5C7A", + "commitment": "77A5758CDD23FF54", + "challenge": "F085", + "response": "CB02", + "usage": "Prove knowledge of secret value" + } + }, + { + "value": "3C38", + "commitment": "AB9AC308618AA1F3", + "proof": { + "public_key": "AB9AC308618AA1F3", + "commitment": "6A66E9B71FAFFE2E", + "challenge": "6CB1", + "response": "4D04", + "usage": "Prove knowledge of secret value" + } + }, + { + "value": "810E", + "commitment": "4B6AEDB1248D71EE", + "proof": { + "public_key": "4B6AEDB1248D71EE", + "commitment": "2BDBA187D908F515", + "challenge": "4B69", + "response": "F3F3", + "usage": "Prove knowledge of secret value" + } + } + ] + } + }, + "backups_to_share": { + "3": { + "owner_id": "3", + "designated_id": "3", + "designated_sequence_order": 3, + "encrypted_coordinate": { + "pad": "13C9803151389072", + "data": "FF075AE9857EAC1FCC411B239982E1FDE471909139CE36AF9FCFED43C221600343029D46255550BA32C57D1681E7B6C75D683D20ED820130E5DB3BB08DDD0E6EAF9669D8CEAC552789B06B4C5B0D2CB6C3BFB0C9DE873159EDE8C0F4B4CE3617946C489D6591553BC17CCD04E49A9A87CF5AF1E6A4AF347978AA7B020E0388AA97A2DD3D4027EF90C255852594F060C38D4C0DAC924A057829201C6B0E6BC675B5F634E69803B205DCA71C4E635EB549750E8F750E05B8BCF10C177F2E5E3C7E95DEB43342E38900195C80E35924F8D8E2918FC6AE97204BAC8E7BE7E556543DEBFB2C30590580A551D179EDA525AC7FAE628AC9941BEB5627EFEBB48DDDB21629195F360F63C191980C373706A5271C478F94A9AD568CE0F6D309E7BBDD077A61396367B821FC7AB5B76E5EFA88238449DA6122F711C667991CA129CB2043E8F8254C7F06F21381FC5447B901688B06A6EDD925170E06930474AE88970BF41BFD44D327B8ACE0E80E2047937D9E388FBB01AF44BB9FDA8A4689BDA9C4B8A9D94C58B3F0E00E2030B5FD94645E311040C49F765D50154815056D836BA50CF716571A6377EEEB2DF6998AFA54A1933F4695C67E870DA852E80817772632FF5BF9904CD106815C95041D204AD5C776B5CEBBFEB4CBCD84D888EC39CC35767181ED982AE209426985CCB6A167FF2E8070CDC5956541A25D33DE0BF23A889C441126", + "mac": "4E5BC53473AC35593B5BC632948172D6AAAC3030ACC91EAE92F6C88ED926BE5C" + } + }, + "1": { + "owner_id": "3", + "designated_id": "1", + "designated_sequence_order": 1, + "encrypted_coordinate": { + "pad": "F81B840CFE2C6F28", + "data": "F299214292DDED4A68EF3A5E6D686437DF071D498A4B885B7BB490A54FB90B53D45F942BD66CC143CFAFE6CD5EF478458AB7D54863FDB8132C43DA8DDD8A3902FCA8F2053E5D30E7125D73D8012490D89BE98FB8FB64AF4700F325F60381B2991CB5D9683BDF31D1C1C6910C5D42FFC064B61CBC0C1E17A67338E10F0368DAC095784EE4C37A601CE0D39F6A3F21C2F51E67B2D2E08CA609195F1FE28B19A3293DEDB6FE34CD532E76049B56C8DAD2C2F4DD1785F2B10FF2B5718BEB070511D3508B57196C8AD47DE33CB8139B97108E1EFC562588AEB93E6E5B6FC8383ED0025D8E711309E2C59657A7E396B953CCFDD1AD5C923FC10F95D332E397908B891872963DE1BCAD965926CE48E7745010571FCF7519E1C8C41B1F2614F5E2376111210A9567661A9548F951D6DD21CB4823473A53CCD6E242D4F9A37006E7695457C5AD36C4DA50405594C67E3F4F07FB73F3731E0D223742FDBB740FCEA3A5791FBE8F5C260AF7E1270972CD7A66F6271BA0D264FB882975F79F336908B08ED30FED8AFA1E2ED1DC1896C29149766ED3BAC594AAD5224F93E6C841CEBEB971EA68803318CF8F6C17D4C094F8BC92EFF09F0BA8754D756CF7F1C73D59DB2782F879576C4356E1CB62C820792C92E0CFFC0698BB44DF67A84D23D3CA2F30990D3F21E1566A658D282BE6076A88D72B7ED0E5D0EBD8AFE715085DC86B7E5D252DF86B", + "mac": "819C4FD4EDC41385043BB0B1F04C044C3FD117EFD50294B6B1C247F8F15B6327" + } + }, + "2": { + "owner_id": "3", + "designated_id": "2", + "designated_sequence_order": 2, + "encrypted_coordinate": { + "pad": "5A8493BF589CC61D", + "data": "B65A70E3CDF9ACB3ED928A7A915AFED2CD24865C3D5D6FCB07FA16824A21681625D7A3B84EDE376F38ED57E46EF3BEA067A02F748786955F29C876ADD47153EC600CF0C578896A76173DE1C1C05574F087330267C5EDDB47916E4E9DF9986A186FFB2663A276BAF3F95ECDAFC40DB55671F84B9A6A6074510D195CD0DBA6B6C4A2FC2F64F99830A1E4A8EA569EE380029805DD276BAC9310301AD0E0121384C163F03F97D769783B009603307534C084855858A3740E690683077B43ED19A8750CA6F2FADBB2491A9FA49EAE9EE752B4356F5B11961BCC64E0868E09FD7BE000F31DE1429D78537BC4FABDCA4A6742AE5CE716D14A6640496A35E6ED2E47C4F66958C314E18CE76114A1A82DE005512B5316D4B82EBD415572A99002F52A6C5B9BA25E6EA59EA5B71A954E4FCC1CBDD16FEA2A189B1EB6BA1B567A2B6081D3E8FCDA69BC5DB46FF0F35E7036C4909700A02ED585CB4A3B75704134366FDD3E2E4B5435F9BD7CFA68624C05A96C30D83ABF47A1138FDA26F13A1649BE7ECCEE1EC4D8F737715B82ED8B2EFF7764AAC70EA07213594A6EFB3C9980E4BAE437FE3DAE497BE4F02BCA181E6557BF93A1F8BA95B6D9517FD8EE5587CE5F22ABB1FEC731AE5D23B503B44AFA8C36053D35D2CEA1C94951C524DD1B49935A07CD4368EEFD0EFEB1516E5696494513E1271F5EEDF03634CF77EF9BB88AD6ECF698A708F9", + "mac": "78DC99908039490C490CFFD680A866B12FE93FEA1FD6FCDC14A988E19B54E8D2" + } + }, + "4": { + "owner_id": "3", + "designated_id": "4", + "designated_sequence_order": 4, + "encrypted_coordinate": { + "pad": "21F2F4C70F2A00F2", + "data": "8408A7975027645BFFB7B56D87666BF8B1CFBE55B89B442944269513EE821E152DC04A806F83FA50D75C4AC63FEFAF88F54B1BB4420C1918714EEE53C169F716E8185E3A4268F08F467BA218DC4AA4023308659C5546BF0E85882BE46E078DBA4EDC70002AA7724F253857DDA9F5E06C9835F9BD34EABEC4E09FDF80AF81EBE66B60573144D205FADCB908CBAE6AADCEFF1455532AF87E206863D001C0AE7FBB41E93BD186EBCDB97D80C8B61BC69D25995C4765111148BBBE494CD30E6646AC9123405037E1732E8E8576F98721CB916451B7781EE5E1FD7C201A756F9C98BB042B8CC49AA86C0EF9B5F8B7E20B7C2BBBADD513BC05DB97383A78E86A361E71E2F08CA41AA4D78D1D38DC87CAF69EDC15D6F172B094033770244DD491F75D935B0816918D4FDC598E1CE91CB783AB7581579F43F7E7CAE18D5DDF6F7C20B0E289737E9F3518215E0D450AFCD100E479E5ADC398B45583E22DEB93DDFEA16DD1D5279F912E09CD2737796B41D7344275229E9961C7E78C5FA8B637CC6B6E3D75C8885E23FA4502D7F4DCACA50616264AA18E392BEDD9F50382A9C21E2C4C5356B62979810093E268297BD7B5469115DD02ECAB956DF148080B135730183C0FE6ABA0464A2376B457E8E28824481E0F42C731FC2DDF2B89A8618C1175610C7BC6C39D0A5BC0BE1305D6E398F7599DB118160D3E4CB39AE8807412ED9EC4EE108C", + "mac": "50C8DE6231FEE47E28ACF1E72616A78AA78C1C693072EA9F686E1E971F6AE0C2" + } + }, + "5": { + "owner_id": "3", + "designated_id": "5", + "designated_sequence_order": 5, + "encrypted_coordinate": { + "pad": "C020F8400DA2270B", + "data": "1AAF48982A3F745BF8223C2380C127F1CC9090C07F67CF507A2FE6B5CA186E24494BD15EA1C35A7400F1B164BF1C9AB65A95B3404FA11F64FB864E0068B9DFA4D117CE998644C0062F72CF31BDC2D16F37D4C51990A39C1315E2D08FF9B66ED124751629DB78CDE52388B30683CF7F926051BA329D334FA706262769A2CC1A81F07A5D275534E5565FD5BAEC4F10E78074D17E54AD9B33A83A8941F411C48EFDA771996DB87DB1221FC29B50852BD53A72987690A6B47AED6695FFD112B7831EF30270B31730155D2C830829271FAEB3FA2B1C6BDBF684F29CDDF53F9248AF26C52A96EB8D9770314CA8552BB6A588497E94CC626EDDDA4E81F75B97C0A0CFCB7E6530FFCB66C0A27AAE3326D28003CE71529D29E323EEE5C1030078F8A40F095BC8C7D99FBB04E4F9C6EF41C68C36A5D84138EB1173BE48EEB2A3E31AFD7C44C08B818F799C1271CEE37DB3081A14A1D6BC97B3795A8E47FD91623E2F28DC867B5D9625DFF73D9F48E129D44A5A5CE970903A848F19AE54C5D5DD409CB8CFF5D97091D7506BB3B44191A8149CC095E17111D847E4CAC8E60D94E6DEFA525D3C295C4FDA7FDC035B39660C2EFD041972D1F8AD6019E40476E9CA4DF33E6489F76A0B438152303E429D3B961FE9C68F0CD5A9AD765B15319946A67A87C986B76B25F3677627A6E9CEEBDBE42F29EF5C32662C85200F1910189F06C41DC0B27933", + "mac": "86BE98C5499E9822E58821C410923CABFB6093957AD03C0DBDD9463646E2BD30" + } + } + }, + "guardian_election_public_keys": { + "3": { + "owner_id": "3", + "sequence_order": 3, + "key": "1088205F42AB5C7A", + "coefficient_commitments": [ + "1088205F42AB5C7A", + "AB9AC308618AA1F3", + "4B6AEDB1248D71EE" + ], + "coefficient_proofs": [ + { + "public_key": "1088205F42AB5C7A", + "commitment": "77A5758CDD23FF54", + "challenge": "F085", + "response": "CB02", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "AB9AC308618AA1F3", + "commitment": "6A66E9B71FAFFE2E", + "challenge": "6CB1", + "response": "4D04", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "4B6AEDB1248D71EE", + "commitment": "2BDBA187D908F515", + "challenge": "4B69", + "response": "F3F3", + "usage": "Prove knowledge of secret value" + } + ] + }, + "1": { + "owner_id": "1", + "sequence_order": 1, + "key": "97A8D061E44D3C4A", + "coefficient_commitments": [ + "97A8D061E44D3C4A", + "060C693748D0A269", + "049E7A4F1F55A06D" + ], + "coefficient_proofs": [ + { + "public_key": "97A8D061E44D3C4A", + "commitment": "20C3FD348E1EC7C8", + "challenge": "38FB", + "response": "D362", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "060C693748D0A269", + "commitment": "8E0C2178973355CC", + "challenge": "87F2", + "response": "36BB", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "049E7A4F1F55A06D", + "commitment": "962E88A421C1B6EC", + "challenge": "0B37", + "response": "C79D", + "usage": "Prove knowledge of secret value" + } + ] + }, + "2": { + "owner_id": "2", + "sequence_order": 2, + "key": "F2FE3AD6076B04B7", + "coefficient_commitments": [ + "F2FE3AD6076B04B7", + "A4B06C1AA221EB0E", + "E65CA77B5458157D" + ], + "coefficient_proofs": [ + { + "public_key": "F2FE3AD6076B04B7", + "commitment": "409753D0E20C3172", + "challenge": "FAA5", + "response": "E156", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "A4B06C1AA221EB0E", + "commitment": "C47364718E80E034", + "challenge": "9D5A", + "response": "4592", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "E65CA77B5458157D", + "commitment": "C85CC359ABBEF28C", + "challenge": "1E5D", + "response": "9A71", + "usage": "Prove knowledge of secret value" + } + ] + }, + "4": { + "owner_id": "4", + "sequence_order": 4, + "key": "F06736A826B83724", + "coefficient_commitments": [ + "F06736A826B83724", + "3469ACE138CF8FB2", + "5963B613BAA1C688" + ], + "coefficient_proofs": [ + { + "public_key": "F06736A826B83724", + "commitment": "A79C3111EA089081", + "challenge": "B1DC", + "response": "C044", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "3469ACE138CF8FB2", + "commitment": "4495A5521C86B1D2", + "challenge": "801F", + "response": "1122", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "5963B613BAA1C688", + "commitment": "1D358AA0A482F947", + "challenge": "FF9F", + "response": "5E03", + "usage": "Prove knowledge of secret value" + } + ] + }, + "5": { + "owner_id": "5", + "sequence_order": 5, + "key": "476FD37B192A21AF", + "coefficient_commitments": [ + "476FD37B192A21AF", + "756CBED3F970A1DF", + "899941DCAD1AC6C3" + ], + "coefficient_proofs": [ + { + "public_key": "476FD37B192A21AF", + "commitment": "CFDA4A4B8EC4D2CA", + "challenge": "19CF", + "response": "022B", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "756CBED3F970A1DF", + "commitment": "B99382552A4DB305", + "challenge": "A197", + "response": "DB1F", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "899941DCAD1AC6C3", + "commitment": "D05D26F884BCFA41", + "challenge": "2480", + "response": "2620", + "usage": "Prove knowledge of secret value" + } + ] + } + }, + "guardian_election_partial_key_backups": { + "1": { + "owner_id": "1", + "designated_id": "3", + "designated_sequence_order": 3, + "encrypted_coordinate": { + "pad": "BFD4F6B98A033592", + "data": "C26D9279F075FE8A872C63FC4342772F8038BB935BA4B048270B859A1C1F1448FE6032A0C0D47A0A450475F515EECFCEB858EFA1427DB4F4A87E75991E824D607A820BEBB6A4C7AC6D59A66F92F7E6FC86096357190E8BE9707831DBE8F6094C12D91026290F9BDDBDA70ABA8C910E2A89411929FA11A544F89F2887C773146286B9C98771FB1A7FF58549AF88F70B2D157452765E89D020F3B1F38963637743B591D88916CB3F2978F1A02DED41AC9BBDE4E889DA6558D95E9A62E04808651D7429E3DD4EDD737843B358FEBB84BE96C5C8E56780F9E0DD61CB4C92AFBA663F95CC6C99FB7EB39E515FA310B95B7BDFD10B0D656AAB33A6B132B60427FE96421DD5D1D7BFFB4C7C692E0F61BE38AA35A9E7432BF3F591DA21BBB22C5A78C3E014C9E9C1994A7AC591FF96553D80DB979737046314DFF9168568D62331A563BFF1CDE7E366F6BDCFAB693894551587DE41D4D5D7E0D64083FD1FF3C795F38F7F4F069398A96C8E35D0F6EABE94AB4FEFA94B16ABD1D496F443AA29A29AA00A78A2FC02404AFA41FDA93148338D0ED7EE3D8CE1222F6B798DBB10C17BBE6EF1F313838DB06085CB770AE17DCEE1FDE2097674EC8E3A3ABD4DCD58451338A719F18A9F0A1D67746FA00800030B36853DB5D694F886A724ADCA54304D3DDF434924E43EA765BB62EC3936EB181DCD1A2AF712D5F370ACC8F7E6B46A4CCC3F11AE97", + "mac": "D32156A5DD23A38628CD8B367E77D61A5CAC83D1C13291AE0B95DCE592F38722" + } + }, + "2": { + "owner_id": "2", + "designated_id": "3", + "designated_sequence_order": 3, + "encrypted_coordinate": { + "pad": "298EEA4C1A950B", + "data": "9F32B1B521B22B1240BA666A7DDE38E9A5EDFF36C6809CEFF73DFBB2F8E8F0A7BC7A2E1666FE0184A979C60156FB34F06C176E65B8C192D20C4F30B90C1F9C5F08DEF243F159F27B74B7E86D5D8666708FE8DF9E7090A098EE1AB4CDA29782EB2F45E7A284606B17B115AF85571D69D08098432E96E46366C7306AA25E5A2B801C49A5B2764D8C63233B4BB6A9A751A565FCDA5BB9267FDB17A4552AF87BF0F1234F98DCA5367F129E19D07F4B7FCEC6B52A323B34A38D11316DD9004B8E4E69B1089D89A7C621A95ED8D8B646DD5B50765E5B644AAF3ABA02DD7262647E6AFCAD0972FA8F01B87DC5ABE59C809E88425EB649285E694A3C0F2B751E4B71EEB5B2BA60E640B1D1B1561FAA1248E48227A206AE2CB63171D426B185C74B1BD5809D57AE03B0215705AE2BDECEB07D8212CBDF9440CEA0064C95217217508FB8BFCACEA80A046B34A34CEC2E2B4511C3846E6E4BFF2B37C81C70DD8E1E6388FC38B91D9463CF4A3ACEDD7AF468ED8CC79CDFE97E655C5A28DA4A07867957CEFAAC8694BA0E8B89D1558E4EA081ACD16943946C30BECE35859090AE74938D8787DBC51DFC327939417280CE95DC6558ADDDF8365D21BDA8303A8E73D6C4723009DC4EEFBF26FBAAED607A00F3321693F26999FC4B33CA7114E0E67B4A3E55AC875E91744A0792583FF654F9D06095061935F4267F391F9E6C6AF024EEB538F5A4A2", + "mac": "4588B9C2C51E3B22726E42AAB9B2CA7B7B2805C2604553E350AEEB7D05F7F711" + } + }, + "4": { + "owner_id": "4", + "designated_id": "3", + "designated_sequence_order": 3, + "encrypted_coordinate": { + "pad": "C6B619B1590A9257", + "data": "D35897EA66C301013B4133B931D4ADB37190171419E473DA1917D6C2AFAC1E5D8BB5DC239AE0A0C60ECA29E272B37B8489A4D63C0056D94E5A921DD0EBA3923D958866BB1E91FA15E98DDF68BFC61481DB3B79BCAA0A34AAF95D0301C56A6B4C88FC476E9817B7251B548E779689CD2AE6882A447BCB1A66CA591C33D7DE3A66903057DF7C1E321AF32DBA8D8267FCDD4C819F37830E9328E969FB9F3ADDAB0A4C58EB5C72420D13862F812E146797C8FB0548ED0A25188650F481C4EFAA5F2E5BBBDA300FEDDFCDEF9EB466E47B926FB70EE68241225D9E59279FFEE91C602D077931A305876C4DC77C75AE36E542B58FEBB22225DDA93C644CF87E3BAD474710E975FA8E19568F91BD6F98187012F496098808B1AE9BCB71450B998408EC2DA4A0C94D301F1EFD51818E826EF4947C734F591935405EDA6E6E81AE1C4E27026532BB01DF9F57A8A978719802BE61B508212B38351FE3A2C56956ED9D37CD97871D557A52D281FBDFBA44D32360833292B70527F99D2C649980A4760B0F654C234ECB127CD749730B8023B931D215703EA664B286B6BC4B22F7BACAC787526F0673DAC3908A2E24A55A94E1DE85280CAEDF56639D065A4995E14453BA3D45E3C24068B17A38B3770B8D89280CDD8EAAD6717FA2499D2C24397CA07527685068A372749A966C26169F6F6BB0C6E3D2F81A4E364B52DCB1DEBD520FA65699F00E", + "mac": "E8BFCB1247A779FBD14A12A6271DCAD79DC1166BDD32A9946EFF781C3E413BE2" + } + }, + "5": { + "owner_id": "5", + "designated_id": "3", + "designated_sequence_order": 3, + "encrypted_coordinate": { + "pad": "89EA22A022157064", + "data": "516F1C69B162C8D4B8ACDAAD0294CA13CFFFE09458550A95448311A037AE860212138A9817BF032A8A3FBCFF66C2D2C9F4CDB5F44866FAC5B3280EAE4C362881C7780926DE1CD0910A19F6A58351A3D21BC3CFAF94B1F741B5165F2A40AFE67A5C0DC24756A59D96CF8135BC5FA1A7AF256700C9980FA44D726A9B59CB18E375EC101633C8BACF1BC6FC772DFEC5CABCC5557FA503F764C8F353977387D4240FB6B4E6B28F1D9640AD62002F864F05181F40A784CF67F44A8241B7F6DD34AC49D0A02A3172355A6D6921417186CA201AA784D489BB8F98AAD45545B8993B9B31EB974576E16669A8A15DB1158FDC98A66CBF04D3C72C2F35A4E6D34EB0EA1A3B327505E839F30FB20D5EA3619A5732C66EE8BF9341155652E5454C3A7DBFDF33633BAAB98B0284B2F921F73892861A4B01549E66D99D099F1E23F055E9C94FC37370697F92F3626077C50005B8D98232C88C0A739810F6D6664A48F4D980A191689B2E8F7F3C2582D9C768E449077FA26156C71B908AC8E908D08B61173648B1DC0A62F0F7C3BDA6FEBB28DD787E8D365AA7AC002249DD117DEC58446B370EAFF75095F2DC5AB3B01C41DAFF1CEEAC9E43AD67AFD934095533139394CE56E9208151B4F1369B98B927478DE1E3A588EB6DEB1E75FF00B46B8304D7EFD8B1F4B89372E873E01FEF8A4FB9E722523D12B6A7918A1B1B842C4442FBF9FF27F03C0D", + "mac": "9AD4CC2463D01938C7E6C5E3CB64B477CE61965094DEF1C1B99E7E91B5CA6963" + } + } + }, + "guardian_election_partial_key_verifications": {} +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_4.json b/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_4.json new file mode 100644 index 00000000..6b472029 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_4.json @@ -0,0 +1,310 @@ +{ + "guardian_id": "4", + "election_keys": { + "owner_id": "4", + "sequence_order": 4, + "key_pair": { + "secret_key": "B7E3", + "public_key": "F06736A826B83724" + }, + "polynomial": { + "coefficients": [ + { + "value": "B7E3", + "commitment": "F06736A826B83724", + "proof": { + "public_key": "F06736A826B83724", + "commitment": "A79C3111EA089081", + "challenge": "B1DC", + "response": "C044", + "usage": "Prove knowledge of secret value" + } + }, + { + "value": "BF49", + "commitment": "3469ACE138CF8FB2", + "proof": { + "public_key": "3469ACE138CF8FB2", + "commitment": "4495A5521C86B1D2", + "challenge": "801F", + "response": "1122", + "usage": "Prove knowledge of secret value" + } + }, + { + "value": "095F", + "commitment": "5963B613BAA1C688", + "proof": { + "public_key": "5963B613BAA1C688", + "commitment": "1D358AA0A482F947", + "challenge": "FF9F", + "response": "5E03", + "usage": "Prove knowledge of secret value" + } + } + ] + } + }, + "backups_to_share": { + "4": { + "owner_id": "4", + "designated_id": "4", + "designated_sequence_order": 4, + "encrypted_coordinate": { + "pad": "E5C2EC4BE7DC2AA9", + "data": "1BB04998671CEC2C757C6B0D38171EEBEF05D749C7BE39B5B06577A2169669D3B8526D74BFDCBE8881DF3A2E8E1C252354581624EFBD7AE8670950D1306296943BE665C540BEE21D96B8938C54452E45D400E1F991B5060999619B77461D89F5D1945A2ACF57CBF18FC3F0AEAE1A67A9C600406767C2DA7F5BBB8394D8B836E0E4321CA65CCE5C23134605A031768C01ECB23C19A3D01DC0296E66E4BA9D006226B61300462CB57C40E386033D9E2C35D626D74A307BA37F90088CB6E6E935AAF1BAB551AE6F5D4C9860AD2AA0072BCFF4722869CF6B48A77E516C7F916FB315755E60580EAB2A6447DA8B9C1A574B8BE02B936C32B39277314EE500CE58A034311B03A08D716BC5144F2AADBF9C6625AECABBFC1BE231F7F5AC6B0B25EF443099155873C702B9F1C751840EC878B644E780F6C3B30A73C7AE251733C12112AB43A6708A901C814794BAD9FDD797C7310B3B67533E7200EBD2A368AA27D7C4151750EE757C789A636BAC63B738ACB2BF5D32F1C753714263103D5158E3BC5BF457E5211BD7207CEC278A45710043BC52128861E3CEC80189076B6E6C62B140F2A065DF0321F2773FCB9FA0EB18E5DB71A8428821A78B3D74C2D17AA8A988B312E649A1F3C84AA823CEF98F5C218291AFDCC9C5E8F47E9C8ABD2EE9B6FCCAFC6B3FE41D0CC542A4FA45424E2778C5EC59901196652A920F11A7020F55E2601BFB", + "mac": "DD4D6A2F561EF06AC1BF3F30CEBB29224EB4F2BC0A543A11535A8423F4496704" + } + }, + "1": { + "owner_id": "4", + "designated_id": "1", + "designated_sequence_order": 1, + "encrypted_coordinate": { + "pad": "9AF0E0EBBB435127", + "data": "6B5AA4F629979842C3C26483A5EBD093030EC794458A9268D0B00DC82A2C60A1598DBD2BA0252E741D751B0347C11935FDB0BAAF5B9775FB38A9C36842D1C69B51050FC1E132A41213960C6DCAF94D4BB4C0AB3E025980F54B9C6E56628C800956E66DD680FCB1C413BF7368F2C749D8DEC744B24053CC8204D1A111B5F9FE86844BB9EA68D0626D445DF05F4E225211656A6671E1386FE25405476F7E51E31A776620758EB9F012E91ED584E6106BF12F8CFB2656E36095AE858C7584277F541D5067A4CD763F62F788A337A87D38B2D0CE7B58749910AC57F1B6B7605132B3F62E723222383A52F15F5767AA3F084B86B94921D4767438034B0A23401BFA32EEA937E8E7A4405DDDE3445DF5F7EC123B3878A3F3FBDABBB8FC0A4CAD9188AF35BD30E5E92CBC46DF5096ECC98FD16CF8460D3133A92849B8ED4FDBEF8847FA2BD6B72C89B6CBB7B933C67A329F34A2056A25C010B8E5B0854490CA18845D5B4EB70EE4DD516FAD962D693047D02726517FD76FB81C138E7086CA917204FBC264BADBAB95284FF0EB47ED36A477F1C1DE62CE5D2908382DD827B19C77F23C8A81EA384D329B886151B41E0A057DDD843F77AFF90BB743C3FFB24EAA7CA6AA3A33DFD300FB380A2CF67C1B59A05F9C79C662488B8C03054849405826CEDDE4A16C287FDDF6280E39907B2B40B903063FB65D18F5664067B76C54512EA8D588B1", + "mac": "431E8E00C79EE6728D8BE5A9D177DC87FBE6E3D596772F75416123A86AB6B01E" + } + }, + "2": { + "owner_id": "4", + "designated_id": "2", + "designated_sequence_order": 2, + "encrypted_coordinate": { + "pad": "1E7ABA53FE25E624", + "data": "B41F923F585C234EE95FA3160BB657C484281CB2300DED2AAA35C0AFA447274DE5C51D57BCF0A92C8F35AB6137AC453DBA58A2CA2EFAB0A9D401D4ABC2D0A051B6A482CD2BB5E995496D2D411779BB07004C6A61E83396DC6362BB0D78F90C06FED721AB270CECE62DC20DB3FDEA7E7D98395929A525579C17B23E63EAB3443D3B33C8D75747D07FA14D0B21DB8468945B101A254B5A8EF89F4319AEC8B3358CCEB61B87C8958875AB620D0D18F8EB4097B71CD05459F8AD86094F342D1126796F72AB3E5B0F4876A4ABE2A44C5AA710BBE7A7CFF0A9328A79F01026ED2BB2083BBB528429317901F008B020D79520301FC12FD2310EEDDA622C4BA65AFE2F3CEB33CFD324BEF7B25C66A889AAAB01F6DC9200EDEE1FFC66E427DFC36D4C1D69948B4434F2637F37A47A35AA91475AEC7EB43999AFC0A6FF62736EA36ECEA551073291F3FCD40459FBD17D53F749FF2A747DE6DEB6E8F82D8E820ABD60466599A57611BE2E47C618A22650239580A00573F7ECF903C3CDB5FD30135B4E495BF1FB580BBC8724433903833D781B68B3CF1F2F79C657B41C53A3698896FCD30D51F663001DD8330701FBDEEA21EAAB771877C2DFEC1145ED0E16ED8140439B42E881C651444AEB312A4ECD4DCC20897FF72A316567CAB169C4ABAB264BED6CCB3D0510AADF6FBD4A50964124E0FDDA03651D8C4B28D7E4C3700139422144F1CC27", + "mac": "2FB925903F75490C987003ED8A6BF144192BB277B40148C4FB3BE43F27B3C4E5" + } + }, + "3": { + "owner_id": "4", + "designated_id": "3", + "designated_sequence_order": 3, + "encrypted_coordinate": { + "pad": "C6B619B1590A9257", + "data": "D35897EA66C301013B4133B931D4ADB37190171419E473DA1917D6C2AFAC1E5D8BB5DC239AE0A0C60ECA29E272B37B8489A4D63C0056D94E5A921DD0EBA3923D958866BB1E91FA15E98DDF68BFC61481DB3B79BCAA0A34AAF95D0301C56A6B4C88FC476E9817B7251B548E779689CD2AE6882A447BCB1A66CA591C33D7DE3A66903057DF7C1E321AF32DBA8D8267FCDD4C819F37830E9328E969FB9F3ADDAB0A4C58EB5C72420D13862F812E146797C8FB0548ED0A25188650F481C4EFAA5F2E5BBBDA300FEDDFCDEF9EB466E47B926FB70EE68241225D9E59279FFEE91C602D077931A305876C4DC77C75AE36E542B58FEBB22225DDA93C644CF87E3BAD474710E975FA8E19568F91BD6F98187012F496098808B1AE9BCB71450B998408EC2DA4A0C94D301F1EFD51818E826EF4947C734F591935405EDA6E6E81AE1C4E27026532BB01DF9F57A8A978719802BE61B508212B38351FE3A2C56956ED9D37CD97871D557A52D281FBDFBA44D32360833292B70527F99D2C649980A4760B0F654C234ECB127CD749730B8023B931D215703EA664B286B6BC4B22F7BACAC787526F0673DAC3908A2E24A55A94E1DE85280CAEDF56639D065A4995E14453BA3D45E3C24068B17A38B3770B8D89280CDD8EAAD6717FA2499D2C24397CA07527685068A372749A966C26169F6F6BB0C6E3D2F81A4E364B52DCB1DEBD520FA65699F00E", + "mac": "E8BFCB1247A779FBD14A12A6271DCAD79DC1166BDD32A9946EFF781C3E413BE2" + } + }, + "5": { + "owner_id": "4", + "designated_id": "5", + "designated_sequence_order": 5, + "encrypted_coordinate": { + "pad": "693ECA9D981D8FB9", + "data": "309FC8E0117C71CF7F6E5BEC51D54444F6FFA2659B26031D0E70DC7F18A16D0BB28B2A15199AE9E6B89EECDFAC35AC8AF0A30D8A35AD1EADA239259AAEE32E2451BAA07EFE12871918E61637D684B19BF0D42EB815156FDD13F2289FCE03E043115EB8BD82366D162B2019EE1C7A7B00D62883CEEB97CF42A990F51CAE3BC2DC73AD73D15B9EC3CEB11A98EEB9072F734328BEADF4F80D87E5D7C8CE3FE8A75DE6D64E56D412C229481F8989B79E4A36960D84CD587381D3F3D975DD8D521F941A79FF91C45BD46C6495EFF2776050060D539BA96DB23792FCC3F3BF5A6AB1BAB58ACBA608AA3D223D599BB166FF91C65E8BFCC821E9FFAF4E66DBD22F3D9FC7295BC2B5A2DEE1E48C16F0305AA9754323AA77EB2F1883F5FA680ADEC00C374719A237471B8D73F282B55BA94D792E6CA34CA5863F152C953CDF4BAF6A3D6418640303C43B6584527399E769DDB4EAD2B7A9E0D037828442FB546C98006DE0ADA1A5443C7CF710442B069BDA84A4FAFA40512025702DB87BB18F2E0831C1D7A691933E93DD46968EC97FA06D3BEEE6A5D9E0E83C241BE881CBDFEECF9F1F6B2143064E5A765D17B984FAA506DEAE9F83325044C3323D4EDC13A5B26F4DC473EF9336B3D7DD9232D734A0FEF135224C56973B56CF6079AE5336D46451E90D2C5BE008A3B86AAF252AD7DEC0CB2FA9C3612D9D9FCF72C63BE244D83845DFD68271", + "mac": "EC715C8671ED5D403E22AC12B928F5D8E57FF14E565F195C59A2421FDFCEA327" + } + } + }, + "guardian_election_public_keys": { + "4": { + "owner_id": "4", + "sequence_order": 4, + "key": "F06736A826B83724", + "coefficient_commitments": [ + "F06736A826B83724", + "3469ACE138CF8FB2", + "5963B613BAA1C688" + ], + "coefficient_proofs": [ + { + "public_key": "F06736A826B83724", + "commitment": "A79C3111EA089081", + "challenge": "B1DC", + "response": "C044", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "3469ACE138CF8FB2", + "commitment": "4495A5521C86B1D2", + "challenge": "801F", + "response": "1122", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "5963B613BAA1C688", + "commitment": "1D358AA0A482F947", + "challenge": "FF9F", + "response": "5E03", + "usage": "Prove knowledge of secret value" + } + ] + }, + "1": { + "owner_id": "1", + "sequence_order": 1, + "key": "97A8D061E44D3C4A", + "coefficient_commitments": [ + "97A8D061E44D3C4A", + "060C693748D0A269", + "049E7A4F1F55A06D" + ], + "coefficient_proofs": [ + { + "public_key": "97A8D061E44D3C4A", + "commitment": "20C3FD348E1EC7C8", + "challenge": "38FB", + "response": "D362", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "060C693748D0A269", + "commitment": "8E0C2178973355CC", + "challenge": "87F2", + "response": "36BB", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "049E7A4F1F55A06D", + "commitment": "962E88A421C1B6EC", + "challenge": "0B37", + "response": "C79D", + "usage": "Prove knowledge of secret value" + } + ] + }, + "2": { + "owner_id": "2", + "sequence_order": 2, + "key": "F2FE3AD6076B04B7", + "coefficient_commitments": [ + "F2FE3AD6076B04B7", + "A4B06C1AA221EB0E", + "E65CA77B5458157D" + ], + "coefficient_proofs": [ + { + "public_key": "F2FE3AD6076B04B7", + "commitment": "409753D0E20C3172", + "challenge": "FAA5", + "response": "E156", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "A4B06C1AA221EB0E", + "commitment": "C47364718E80E034", + "challenge": "9D5A", + "response": "4592", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "E65CA77B5458157D", + "commitment": "C85CC359ABBEF28C", + "challenge": "1E5D", + "response": "9A71", + "usage": "Prove knowledge of secret value" + } + ] + }, + "3": { + "owner_id": "3", + "sequence_order": 3, + "key": "1088205F42AB5C7A", + "coefficient_commitments": [ + "1088205F42AB5C7A", + "AB9AC308618AA1F3", + "4B6AEDB1248D71EE" + ], + "coefficient_proofs": [ + { + "public_key": "1088205F42AB5C7A", + "commitment": "77A5758CDD23FF54", + "challenge": "F085", + "response": "CB02", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "AB9AC308618AA1F3", + "commitment": "6A66E9B71FAFFE2E", + "challenge": "6CB1", + "response": "4D04", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "4B6AEDB1248D71EE", + "commitment": "2BDBA187D908F515", + "challenge": "4B69", + "response": "F3F3", + "usage": "Prove knowledge of secret value" + } + ] + }, + "5": { + "owner_id": "5", + "sequence_order": 5, + "key": "476FD37B192A21AF", + "coefficient_commitments": [ + "476FD37B192A21AF", + "756CBED3F970A1DF", + "899941DCAD1AC6C3" + ], + "coefficient_proofs": [ + { + "public_key": "476FD37B192A21AF", + "commitment": "CFDA4A4B8EC4D2CA", + "challenge": "19CF", + "response": "022B", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "756CBED3F970A1DF", + "commitment": "B99382552A4DB305", + "challenge": "A197", + "response": "DB1F", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "899941DCAD1AC6C3", + "commitment": "D05D26F884BCFA41", + "challenge": "2480", + "response": "2620", + "usage": "Prove knowledge of secret value" + } + ] + } + }, + "guardian_election_partial_key_backups": { + "1": { + "owner_id": "1", + "designated_id": "4", + "designated_sequence_order": 4, + "encrypted_coordinate": { + "pad": "934FC7221F80E385", + "data": "B91990566B4CF4AEF90103763E54BB1C90E0C9BF14DAE2E4D7A650CED88464ED592F2470F1C9BF74721671ADD57FF35C063248BB6C3169B4172EF7479851297A485D28E56ECA98FC3BD31AF8CB1EACBBA6C249C44855C2734420E3D9F78FD3B1C424DAE67922B078D8F98A5D8B7D0FE85339A46C4ACDF3FDE94FDCE621B48995E61E76EB1EFD7ACBBBDDE74FFF1519685ABDDFA1A473FE8D665B75861A2AA7887B7844C31C840D38F3FD803C234FDCBC57A55A7D6E3E827DC4981C4A02861F5EC91ECD412EC0A33F42637E0F0BCDDDD2770B90F8A176EF2F6982589594A73462BBCEA760C192CB903D9D4533F7E9B4E1D69B77E9BC8D1A8D03466FA23C7A39B37249587E062BEEA4913433C083E69F1FBDB9214CB2C5CC5BE692DF7BEFCCC1F47AB5F7DE06AA975B7DEDA6D0EC6FC312576797081FD4F8B8052EA2E2F9418D3F7E6DDCBF425CE61C197E385F23EFEB9013038BE8F1AFB390177A6318C117E19C91F4DC3D059FB6E45E89B075381B6396FDFD2717B794884F36BD8606AB12E1CF43A8448725500E31B2DF64A5FBC16BDC676861469ADDCFF145976426BDA53742CB0240450BB4594A82A927E62B0F63339367E0E3E86CEC1B06B93230CFFDBFDF28A73DA0D2457960EA03F2644233C30F37B6634D1B2ACBA54C9F4320E62F1FAD280E81CF176A032157EF45A833C01624C2CC0137DDC8CC47CEB739FA7B4827D4", + "mac": "38E0DCBD0323858E7BDA873C29D07D37C38481918DB0A8ADD9D88218F50CB5A5" + } + }, + "2": { + "owner_id": "2", + "designated_id": "4", + "designated_sequence_order": 4, + "encrypted_coordinate": { + "pad": "AE4B8A8D81C5A275", + "data": "6B96039279F58F618FCF18474ECC4276BACAF99DE152F4500D86CB084062440A302DE3F15347D24DC496C9AE5325B5A5777F8B163229AB69F33BCCC0F8D82AD076F1FF72BB7F2606D20FB09A11530F0BFCFA502B4D64C79632666BB2F25183C10CC3068F0E68A149BBAF9F0A4E2C7C7ED5E412824324C412ABC34DC78D50EF355BAE0E297BEA8671BB55A055FD3BBDB38A8B853E03709A6BCC3B12F6A96023D47C53E169856BFAA0F929F4481AC9A3FA314CA1EC94E931D66FABB3C5723055AE28D05AF9750CD75D99C7AD83A91A09785D6EE2FFBDEA1F47907A284B8B45B481289F16C66EDB16A8A2BAF19DFBB114F566E222D9EE61874C15CA179EF966929D6545E9F8D637F7EE6867EE8664B1943BF4B0043AEECE13AC74ED7174C4A660E8F6CA8DEA41934BF6FB290FF50535CABD95CF8867CD032F0FF3136F07CD290AA7CB7574C60CAFEE534C23CB74C049B232A107CD5B992B8CEE4F6C2840A7FF5078A4BEB65250829BFB96DDAA1AE31EEDA305B51DC58EFAF1424142F079FC912FF645F914AA18AAC922A3AD4FF3A800B02C94DAA3E8C4A8FD62EA16CD367221B73A9B3E60B6FFBD5D2101E8C5612FEFEBA3BFBA2C60797ED9F1E858884AF948A1E01867C2A74F165CF8EAD7FD942BFD30D65C8444DBBD2CFC581A658911B4ACD880A26F25C61FE37C99B5D228D228EE172FD93D7FF7F1903308A567348D0D385263", + "mac": "C6260EBB5123CA43D8F6C9281E5F9C20D3C99DDFA46C3C866B372981D3D41654" + } + }, + "3": { + "owner_id": "3", + "designated_id": "4", + "designated_sequence_order": 4, + "encrypted_coordinate": { + "pad": "21F2F4C70F2A00F2", + "data": "8408A7975027645BFFB7B56D87666BF8B1CFBE55B89B442944269513EE821E152DC04A806F83FA50D75C4AC63FEFAF88F54B1BB4420C1918714EEE53C169F716E8185E3A4268F08F467BA218DC4AA4023308659C5546BF0E85882BE46E078DBA4EDC70002AA7724F253857DDA9F5E06C9835F9BD34EABEC4E09FDF80AF81EBE66B60573144D205FADCB908CBAE6AADCEFF1455532AF87E206863D001C0AE7FBB41E93BD186EBCDB97D80C8B61BC69D25995C4765111148BBBE494CD30E6646AC9123405037E1732E8E8576F98721CB916451B7781EE5E1FD7C201A756F9C98BB042B8CC49AA86C0EF9B5F8B7E20B7C2BBBADD513BC05DB97383A78E86A361E71E2F08CA41AA4D78D1D38DC87CAF69EDC15D6F172B094033770244DD491F75D935B0816918D4FDC598E1CE91CB783AB7581579F43F7E7CAE18D5DDF6F7C20B0E289737E9F3518215E0D450AFCD100E479E5ADC398B45583E22DEB93DDFEA16DD1D5279F912E09CD2737796B41D7344275229E9961C7E78C5FA8B637CC6B6E3D75C8885E23FA4502D7F4DCACA50616264AA18E392BEDD9F50382A9C21E2C4C5356B62979810093E268297BD7B5469115DD02ECAB956DF148080B135730183C0FE6ABA0464A2376B457E8E28824481E0F42C731FC2DDF2B89A8618C1175610C7BC6C39D0A5BC0BE1305D6E398F7599DB118160D3E4CB39AE8807412ED9EC4EE108C", + "mac": "50C8DE6231FEE47E28ACF1E72616A78AA78C1C693072EA9F686E1E971F6AE0C2" + } + }, + "5": { + "owner_id": "5", + "designated_id": "4", + "designated_sequence_order": 4, + "encrypted_coordinate": { + "pad": "C3B1F92AC9821069", + "data": "017EE19F0EDE53EBF00F9C762CA6149DCDEE984AFC5C045D507979A64221A26FC951C55DAE3A2ED9B6CEBE08F9C5066507059B6D7D72A4E6B916F3F858C67215386EB766138C20BF1BCBBB56943174BD7B95AF25D87C4618A51E93DAE6F711243802022C6A8978E98CC437DDF2668A090DD778A4EC871970B43C4A6FEA2D0DD6488B507433E3E3202EFB08C36C29ABB2C0665DDD842ED9071C3266E6786B400A8ABD126CEABEC0E3E57778223E71E31BF5447F95715AE2D44EE1B7B57DB20B62AA8E4F85EA169CFED99DDC141CF6E028A279CEC7FFAE731DC10B1CD0524E5506D0A8A91FD5A2029F624D4A08ED9D558F8E7CCF87E04D93F21632215CA20480D90CC30EBD0763E753EBA40C9293031FE88A074F9EC28FC1CBF7266C2FC891BC65BA196537D764763010CA7B504FC63D51112FB93124165716B6DCACB9A8ECFA7337601D861B531F5E849B01FA5F925A9CC5C33ACD10426EFC5546B6082CEFE949D8466F79F30C4182291C56DB96874A9FBBC7B13A3988DB249AEDD782946F46F7CF613FCCB130BFB88152F29258A54C40B853F338E9D4E0CB230E7EEA0EA500100C52235ACA7376688EC44B3BD28637D5555B79BF3EBD60A690E43FACAF4D03D936A3E197906A0C2D36051869CCBA395504E5877F857B0AF77E4D4D65BBC79A4A22833DD5137EF4C27716505D0F3B9D7209F04FE0F62ECCC1F3ECF0E54A536936", + "mac": "20AA3E16C8DC83982B4A4DCDD78C2A1FCFF4EDBA9E2E776E64E2A85E482FD5A0" + } + } + }, + "guardian_election_partial_key_verifications": {} +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_5.json b/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_5.json new file mode 100644 index 00000000..be841fa6 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_private_data/private_guardians/private_guardian_5.json @@ -0,0 +1,310 @@ +{ + "guardian_id": "5", + "election_keys": { + "owner_id": "5", + "sequence_order": 5, + "key_pair": { + "secret_key": "88D2", + "public_key": "476FD37B192A21AF" + }, + "polynomial": { + "coefficients": [ + { + "value": "88D2", + "commitment": "476FD37B192A21AF", + "proof": { + "public_key": "476FD37B192A21AF", + "commitment": "CFDA4A4B8EC4D2CA", + "challenge": "19CF", + "response": "022B", + "usage": "Prove knowledge of secret value" + } + }, + { + "value": "9E1B", + "commitment": "756CBED3F970A1DF", + "proof": { + "public_key": "756CBED3F970A1DF", + "commitment": "B99382552A4DB305", + "challenge": "A197", + "response": "DB1F", + "usage": "Prove knowledge of secret value" + } + }, + { + "value": "86B9", + "commitment": "899941DCAD1AC6C3", + "proof": { + "public_key": "899941DCAD1AC6C3", + "commitment": "D05D26F884BCFA41", + "challenge": "2480", + "response": "2620", + "usage": "Prove knowledge of secret value" + } + } + ] + } + }, + "backups_to_share": { + "5": { + "owner_id": "5", + "designated_id": "5", + "designated_sequence_order": 5, + "encrypted_coordinate": { + "pad": "3F083C1EED752643", + "data": "99F8439FF8CBC81C96A491E81D713127AEF0745345005197CB4065B77FE5A491CC2E99B39BC6FDE319F0D6AA3EE943053E9D6ACD394B217D084A6F91C03FED864C095AECEC549F17D3013844946434A68CAB157CCF7C2C280822CF0F86F83FEEF768E237FE210BCB89CC3DD7ABF0949EC546F0F3CE272A34E370EF71EE33C421EEE4036D6C414D9EF0AAA7D2AF233FF2D5EEE5AB83F0996E5C61A0A17D1D22122176EF634B0DDF75B8ECAADB46E86F18E4B3436B17E546E784F68BC0996B2BD64BFA0E24676D4C9B21C28FDD720B778DCDFFF09CAC1CE6607592E5442130E3FC631269C76B971A02EE66D1EF77D98B941B26002030FAB43A70D4E8FF1345777EDF17F58C367E79A3E90E77B57491B466E1C6563B5E4B63D285DC5C79CE2B86E5814A492E756FB9966C162348A71B5841A96AA8A8A44F5ADB6B7D5A2AF47374F00B36E69BEC7364BDB16F497A7C87729EFAE8BB2D18657A6744F330450F7A8027D014B43A75AAEF42DE1272F24516BE8360EDE4B22FCDA1524A2D46DE307B63B7D522B506E5CA028C8ACB88E2DEE8625E0646B57C16C96B65699698E35A8D837DDFC34BA6D5367D58CF2393847635EFACA4267E73E46D3E9FF8CDA2431F52D341234D38B149FE78A1B9E49236F4EB4C394002D420A7690ECD6127100FB2FFFBC150818C60B1A45E12E1E8AD31C33DC398BE423E3AA3B705DD428904319C0DC352", + "mac": "8D76F7C96C3051AAA14D3292583F33B5FAA85E5E215AE6C9FDAEA6F7E5B702EA" + } + }, + "1": { + "owner_id": "5", + "designated_id": "1", + "designated_sequence_order": 1, + "encrypted_coordinate": { + "pad": "DB2B2136E1FD7D91", + "data": "16EB751C2E3E45222958D1B4B507471F55E8CCCBB565E587C71D6E97E260AC502C645FDBA266E8E28DE09D7165347BDAB8128C35B11250D995546033562A734966C903FD35EDF62EF033C7FA3F010C292A8AED72B1018B3BB70AD4151D71055235589020E742A7DDC86F6280AA9754E6CACE7705B27B133961786499BBE688938C91A965DBDE5322C36B1F06A6E53443A7506C35D3161E7C15E083BFE0E10C02689842AFFD4905464B2889A16E5F28C6505B265661B78E858F51A27F691BD3E59582368F2049DED0FBAEEDFC3DC3CC292179B6274B31407205491370FF86E798AD0E97780821E2D83A2F92CB48107AA8DFCAA02AB0D76D09C3512E37D84D4B64B6C133DA6516EE1108431614914B6FE29C81BD53CC874F23FAE687B2137E859BC56A58B477962C89DC1C99A7AA1451F05BD4E5C9DFFEA14B50433F6F6CACCC22554782891059B64C0C3E157301F5ED6AA4CC23FAB560320DD5CE16DC9CE32BD57F24C26EDFD630041C2423A993F2C3603FC2939C4877D4348EFA9EF10FB64F698792302CD16389D56C156B0DB15D8D49B3AF38B143C32C59D1BFD1C1308DC6FA4EBDFBFD1F711AAFDC112FD1BA48AB2C1DDF50CADD250787917AF67953FE474A3C5C8262BCD225451AE77CE8B043489E74BE277C76CE99C937739D19C6108338A0BF2AFD6D36923F8C64C5BCBAAC2E729C874FBEAFB97808E82BBF47F182A39C", + "mac": "85192D8D8F501B89B14224981EF68810A24EEB8EE58FA0BCA02F5CE3E188C3D0" + } + }, + "2": { + "owner_id": "5", + "designated_id": "2", + "designated_sequence_order": 2, + "encrypted_coordinate": { + "pad": "C5ECB514FECC4033", + "data": "D13F79524D8A40C2A0F1ADA851879FA0D49D578BFF0B02A1F514B3F223E96C8BA8387DF78EB838412065EE59BC73A55E1F7BC36045298B6876E0A369E7B58680C868EF27736E3EC6111DE3DFAB5BD285AC95AAF122A6E3CD3D87B830DC219A0EF4D372633BA31BBF6203F68D350985D0C948229344071F2790272FC8A7672C05BD81EAF1ED3C202E39BD48698F7E461D4AE0251CD86AB9D5E7B9DE3369006F70548E313FFAD19EF98D5F23C724B7867ECD20E233C8D34D53B8308ECD480F982435D1A5434F9FE0A4F6079A5F008E0509D1E609591438B772BE1091B98A53B45A968C3690155C1B67E6BC393CD8B5A1E49A0AE209DA1166A571E5F56B685B0C9C1D258DB1515A8DD4E3994CABA6B3CACC7285352A1C303844B55E0EBF687D20A88612BBB3D971F59F34CB0813E75D4C0AEC5E48185847EAE88FA41B63F56BA120E494CFCDF1F00E3B9E28108AF07E67792373074BAED8611C545D47B755F35C19A322AD5C31E3197539542F04744E7B556DA84E2439179307403C1A49D665E0CCDD90B29920B7401FA1FD07175CECA0362AD85211BBCA11C65D521333BF732A953A4B4156E90FDAFF40F05105AB380DEB41CB1049AFDB395812552FB96E45F9D58E356DF50A8A34EAF66812415822B87B54934129B24B46DF5F4A67A6D62AB022B65FD2E37D46F88A8391EE9F380D877BF0C86006B7BA307D34C2573C88AA2BC9", + "mac": "E1CCDF473A8ADB5719527266BE5F7806D59BAD7410FE685C8F369601B95A9C35" + } + }, + "3": { + "owner_id": "5", + "designated_id": "3", + "designated_sequence_order": 3, + "encrypted_coordinate": { + "pad": "89EA22A022157064", + "data": "516F1C69B162C8D4B8ACDAAD0294CA13CFFFE09458550A95448311A037AE860212138A9817BF032A8A3FBCFF66C2D2C9F4CDB5F44866FAC5B3280EAE4C362881C7780926DE1CD0910A19F6A58351A3D21BC3CFAF94B1F741B5165F2A40AFE67A5C0DC24756A59D96CF8135BC5FA1A7AF256700C9980FA44D726A9B59CB18E375EC101633C8BACF1BC6FC772DFEC5CABCC5557FA503F764C8F353977387D4240FB6B4E6B28F1D9640AD62002F864F05181F40A784CF67F44A8241B7F6DD34AC49D0A02A3172355A6D6921417186CA201AA784D489BB8F98AAD45545B8993B9B31EB974576E16669A8A15DB1158FDC98A66CBF04D3C72C2F35A4E6D34EB0EA1A3B327505E839F30FB20D5EA3619A5732C66EE8BF9341155652E5454C3A7DBFDF33633BAAB98B0284B2F921F73892861A4B01549E66D99D099F1E23F055E9C94FC37370697F92F3626077C50005B8D98232C88C0A739810F6D6664A48F4D980A191689B2E8F7F3C2582D9C768E449077FA26156C71B908AC8E908D08B61173648B1DC0A62F0F7C3BDA6FEBB28DD787E8D365AA7AC002249DD117DEC58446B370EAFF75095F2DC5AB3B01C41DAFF1CEEAC9E43AD67AFD934095533139394CE56E9208151B4F1369B98B927478DE1E3A588EB6DEB1E75FF00B46B8304D7EFD8B1F4B89372E873E01FEF8A4FB9E722523D12B6A7918A1B1B842C4442FBF9FF27F03C0D", + "mac": "9AD4CC2463D01938C7E6C5E3CB64B477CE61965094DEF1C1B99E7E91B5CA6963" + } + }, + "4": { + "owner_id": "5", + "designated_id": "4", + "designated_sequence_order": 4, + "encrypted_coordinate": { + "pad": "C3B1F92AC9821069", + "data": "017EE19F0EDE53EBF00F9C762CA6149DCDEE984AFC5C045D507979A64221A26FC951C55DAE3A2ED9B6CEBE08F9C5066507059B6D7D72A4E6B916F3F858C67215386EB766138C20BF1BCBBB56943174BD7B95AF25D87C4618A51E93DAE6F711243802022C6A8978E98CC437DDF2668A090DD778A4EC871970B43C4A6FEA2D0DD6488B507433E3E3202EFB08C36C29ABB2C0665DDD842ED9071C3266E6786B400A8ABD126CEABEC0E3E57778223E71E31BF5447F95715AE2D44EE1B7B57DB20B62AA8E4F85EA169CFED99DDC141CF6E028A279CEC7FFAE731DC10B1CD0524E5506D0A8A91FD5A2029F624D4A08ED9D558F8E7CCF87E04D93F21632215CA20480D90CC30EBD0763E753EBA40C9293031FE88A074F9EC28FC1CBF7266C2FC891BC65BA196537D764763010CA7B504FC63D51112FB93124165716B6DCACB9A8ECFA7337601D861B531F5E849B01FA5F925A9CC5C33ACD10426EFC5546B6082CEFE949D8466F79F30C4182291C56DB96874A9FBBC7B13A3988DB249AEDD782946F46F7CF613FCCB130BFB88152F29258A54C40B853F338E9D4E0CB230E7EEA0EA500100C52235ACA7376688EC44B3BD28637D5555B79BF3EBD60A690E43FACAF4D03D936A3E197906A0C2D36051869CCBA395504E5877F857B0AF77E4D4D65BBC79A4A22833DD5137EF4C27716505D0F3B9D7209F04FE0F62ECCC1F3ECF0E54A536936", + "mac": "20AA3E16C8DC83982B4A4DCDD78C2A1FCFF4EDBA9E2E776E64E2A85E482FD5A0" + } + } + }, + "guardian_election_public_keys": { + "5": { + "owner_id": "5", + "sequence_order": 5, + "key": "476FD37B192A21AF", + "coefficient_commitments": [ + "476FD37B192A21AF", + "756CBED3F970A1DF", + "899941DCAD1AC6C3" + ], + "coefficient_proofs": [ + { + "public_key": "476FD37B192A21AF", + "commitment": "CFDA4A4B8EC4D2CA", + "challenge": "19CF", + "response": "022B", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "756CBED3F970A1DF", + "commitment": "B99382552A4DB305", + "challenge": "A197", + "response": "DB1F", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "899941DCAD1AC6C3", + "commitment": "D05D26F884BCFA41", + "challenge": "2480", + "response": "2620", + "usage": "Prove knowledge of secret value" + } + ] + }, + "1": { + "owner_id": "1", + "sequence_order": 1, + "key": "97A8D061E44D3C4A", + "coefficient_commitments": [ + "97A8D061E44D3C4A", + "060C693748D0A269", + "049E7A4F1F55A06D" + ], + "coefficient_proofs": [ + { + "public_key": "97A8D061E44D3C4A", + "commitment": "20C3FD348E1EC7C8", + "challenge": "38FB", + "response": "D362", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "060C693748D0A269", + "commitment": "8E0C2178973355CC", + "challenge": "87F2", + "response": "36BB", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "049E7A4F1F55A06D", + "commitment": "962E88A421C1B6EC", + "challenge": "0B37", + "response": "C79D", + "usage": "Prove knowledge of secret value" + } + ] + }, + "2": { + "owner_id": "2", + "sequence_order": 2, + "key": "F2FE3AD6076B04B7", + "coefficient_commitments": [ + "F2FE3AD6076B04B7", + "A4B06C1AA221EB0E", + "E65CA77B5458157D" + ], + "coefficient_proofs": [ + { + "public_key": "F2FE3AD6076B04B7", + "commitment": "409753D0E20C3172", + "challenge": "FAA5", + "response": "E156", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "A4B06C1AA221EB0E", + "commitment": "C47364718E80E034", + "challenge": "9D5A", + "response": "4592", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "E65CA77B5458157D", + "commitment": "C85CC359ABBEF28C", + "challenge": "1E5D", + "response": "9A71", + "usage": "Prove knowledge of secret value" + } + ] + }, + "3": { + "owner_id": "3", + "sequence_order": 3, + "key": "1088205F42AB5C7A", + "coefficient_commitments": [ + "1088205F42AB5C7A", + "AB9AC308618AA1F3", + "4B6AEDB1248D71EE" + ], + "coefficient_proofs": [ + { + "public_key": "1088205F42AB5C7A", + "commitment": "77A5758CDD23FF54", + "challenge": "F085", + "response": "CB02", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "AB9AC308618AA1F3", + "commitment": "6A66E9B71FAFFE2E", + "challenge": "6CB1", + "response": "4D04", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "4B6AEDB1248D71EE", + "commitment": "2BDBA187D908F515", + "challenge": "4B69", + "response": "F3F3", + "usage": "Prove knowledge of secret value" + } + ] + }, + "4": { + "owner_id": "4", + "sequence_order": 4, + "key": "F06736A826B83724", + "coefficient_commitments": [ + "F06736A826B83724", + "3469ACE138CF8FB2", + "5963B613BAA1C688" + ], + "coefficient_proofs": [ + { + "public_key": "F06736A826B83724", + "commitment": "A79C3111EA089081", + "challenge": "B1DC", + "response": "C044", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "3469ACE138CF8FB2", + "commitment": "4495A5521C86B1D2", + "challenge": "801F", + "response": "1122", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "5963B613BAA1C688", + "commitment": "1D358AA0A482F947", + "challenge": "FF9F", + "response": "5E03", + "usage": "Prove knowledge of secret value" + } + ] + } + }, + "guardian_election_partial_key_backups": { + "1": { + "owner_id": "1", + "designated_id": "5", + "designated_sequence_order": 5, + "encrypted_coordinate": { + "pad": "77EFFAEC3766989E", + "data": "A0A68289080CD64DEE56BF18A9A8EAF27291C52DB0AB691B6889C400D0DB430A94AF1D268E972FA0865B9E3F88B7EC97D1DCAAE291C78473DE3561969BA33971436400F7F8FD605286A5745AE101DF9F532791058FBBAB5DB473B7ED8DD0D19B61626DC01F0242DDE840DEADAADD816A35F4B0E893B125390B01C5C8429B2E1F077A33FE71CE403F50D7E9412DAC482100118BF93DB090EE513B7FFCE1520DEF7DDCF3ED8E5CBA9535DCAF2282081180864D90318B3F55DA3F30AA2EDDC09DC48CCDD53F09F421CA7420ABCCE7C863115CEBCFFB610476A18BB3CC0648BDDBBFBE2D7B8A8577DD3BA81D0C306370127496FCEE99D24C1D56C7CE60FB6C4C77ECA2BA6D196C0F04A13B3B1757ADA7A270686FDD59A16D8DDF9C01801547F9934949CFA37CA3A0B6ECF11DC822DC8362AA195A9F1C75DB6B3AB6360606299D6E3F537085507175BF0CF16F2EAE174FD9F6FC7D47D055B9B432C8030ED973EA3598010800B1E566B6F1ABEBF34D8F1F2AC2888DB8BE39C67C83AB0A630B3833A18DB2FBD23C59A8995346B399C0BC733DBC46004CA74447CAB0105887FAB187AF82DFACC92D1988974A679F6174BF8E4981B9D72064EA49FFA0B676EE03D51236E166BF6749E257789B02669E7408C3CE1F35C891EFE7816A7401E6CF109EE58DFE1E815DEA3C5C3CBC784ECD2DFC42D89D3512ECD683BB76F358E6EB02770A03B7", + "mac": "77E5D344B1FE80C428F8C649FBBDFFE77938744F0D6102E12FF5169B7D518A39" + } + }, + "2": { + "owner_id": "2", + "designated_id": "5", + "designated_sequence_order": 5, + "encrypted_coordinate": { + "pad": "DD649627F2FF3A1C", + "data": "E9D903761E3339CC7D83A371345AB74EA153BDA6267275DD64AF7A5F7945AE91971C03398FE450ADF38DC7E72C73CA1C211C5CC080898AFF1B51D425778B2975DD00703188C57DE7FD73B1092F8E83A575AEF1B68CB6E8D6F3E35155E0E64C7DA68AB881AB0481909BB3BD273B18A0AE6F966FFF975EAC04AA719F83B1E426EC9AAD908939FEAF64DA34BA7825AB6B8830E9B4191E0B0321641512B42720E77E2996BC609D93A6CAA035A60C1444D82EC0371F0480A16B9987DE7B3EBAB711B324D3455F58333D1AE778B46F5E50EC4713707955E5E00C14123B8ED488421A2CF5EAAED3E2FA3453FBA16DDE81CD67E9F39805C16D7D6703A371BE6317107DFEC8474154E5424523745C04421A7498FC02522BD09D30F439DE5354E9472DF859BBFB5F8F856782FB11DF367A7EEA822765C726EDC5E79A78897F9861D0E83D30B0AD91F0C9438CE2A97E73AC6637EF1D4B94C77BE3AABD20F3679918A0DD0C89359520A172BE759272F6BADC3AAC4A464C7C91CDF44415D65926A49995DDFA8803663DB18996BFF2E6C2379D94F8EEA33ACE9E21DA3FEB49DE733240A7EEBF7881F8068058DF75CC45CB0768414A3512FEB1ED67CE5181863F0FF4A757B6EE3C3E1C0141635F41F748AD22C6DBA361EEA2C37E9E2C0EB1A226EF67C3BDFEB77FCD92797759F2122D950A56D66F00617E7AB2D1ED8320E2C99B46D2105BA8EEEA", + "mac": "0BE6FD782743CFC495B014C272471E2037D490479ED53504791DD2B8D6B304A2" + } + }, + "3": { + "owner_id": "3", + "designated_id": "5", + "designated_sequence_order": 5, + "encrypted_coordinate": { + "pad": "C020F8400DA2270B", + "data": "1AAF48982A3F745BF8223C2380C127F1CC9090C07F67CF507A2FE6B5CA186E24494BD15EA1C35A7400F1B164BF1C9AB65A95B3404FA11F64FB864E0068B9DFA4D117CE998644C0062F72CF31BDC2D16F37D4C51990A39C1315E2D08FF9B66ED124751629DB78CDE52388B30683CF7F926051BA329D334FA706262769A2CC1A81F07A5D275534E5565FD5BAEC4F10E78074D17E54AD9B33A83A8941F411C48EFDA771996DB87DB1221FC29B50852BD53A72987690A6B47AED6695FFD112B7831EF30270B31730155D2C830829271FAEB3FA2B1C6BDBF684F29CDDF53F9248AF26C52A96EB8D9770314CA8552BB6A588497E94CC626EDDDA4E81F75B97C0A0CFCB7E6530FFCB66C0A27AAE3326D28003CE71529D29E323EEE5C1030078F8A40F095BC8C7D99FBB04E4F9C6EF41C68C36A5D84138EB1173BE48EEB2A3E31AFD7C44C08B818F799C1271CEE37DB3081A14A1D6BC97B3795A8E47FD91623E2F28DC867B5D9625DFF73D9F48E129D44A5A5CE970903A848F19AE54C5D5DD409CB8CFF5D97091D7506BB3B44191A8149CC095E17111D847E4CAC8E60D94E6DEFA525D3C295C4FDA7FDC035B39660C2EFD041972D1F8AD6019E40476E9CA4DF33E6489F76A0B438152303E429D3B961FE9C68F0CD5A9AD765B15319946A67A87C986B76B25F3677627A6E9CEEBDBE42F29EF5C32662C85200F1910189F06C41DC0B27933", + "mac": "86BE98C5499E9822E58821C410923CABFB6093957AD03C0DBDD9463646E2BD30" + } + }, + "4": { + "owner_id": "4", + "designated_id": "5", + "designated_sequence_order": 5, + "encrypted_coordinate": { + "pad": "693ECA9D981D8FB9", + "data": "309FC8E0117C71CF7F6E5BEC51D54444F6FFA2659B26031D0E70DC7F18A16D0BB28B2A15199AE9E6B89EECDFAC35AC8AF0A30D8A35AD1EADA239259AAEE32E2451BAA07EFE12871918E61637D684B19BF0D42EB815156FDD13F2289FCE03E043115EB8BD82366D162B2019EE1C7A7B00D62883CEEB97CF42A990F51CAE3BC2DC73AD73D15B9EC3CEB11A98EEB9072F734328BEADF4F80D87E5D7C8CE3FE8A75DE6D64E56D412C229481F8989B79E4A36960D84CD587381D3F3D975DD8D521F941A79FF91C45BD46C6495EFF2776050060D539BA96DB23792FCC3F3BF5A6AB1BAB58ACBA608AA3D223D599BB166FF91C65E8BFCC821E9FFAF4E66DBD22F3D9FC7295BC2B5A2DEE1E48C16F0305AA9754323AA77EB2F1883F5FA680ADEC00C374719A237471B8D73F282B55BA94D792E6CA34CA5863F152C953CDF4BAF6A3D6418640303C43B6584527399E769DDB4EAD2B7A9E0D037828442FB546C98006DE0ADA1A5443C7CF710442B069BDA84A4FAFA40512025702DB87BB18F2E0831C1D7A691933E93DD46968EC97FA06D3BEEE6A5D9E0E83C241BE881CBDFEECF9F1F6B2143064E5A765D17B984FAA506DEAE9F83325044C3323D4EDC13A5B26F4DC473EF9336B3D7DD9232D734A0FEF135224C56973B56CF6079AE5336D46451E90D2C5BE008A3B86AAF252AD7DEC0CB2FA9C3612D9D9FCF72C63BE244D83845DFD68271", + "mac": "EC715C8671ED5D403E22AC12B928F5D8E57FF14E565F195C59A2421FDFCEA327" + } + } + }, + "guardian_election_partial_key_verifications": {} +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/coefficients.json b/data/range-proofs/sample/jefferson-primary/election_record/coefficients.json new file mode 100644 index 00000000..21cb326e --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/coefficients.json @@ -0,0 +1,9 @@ +{ + "coefficients": { + "1": "05", + "2": "FFE7", + "3": "0A", + "4": "FFEC", + "5": "01" + } +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/constants.json b/data/range-proofs/sample/jefferson-primary/election_record/constants.json new file mode 100644 index 00000000..f18f6ed5 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/constants.json @@ -0,0 +1,6 @@ +{ + "large_prime": "FFFFFFFFFFB43EA5", + "small_prime": "FFF1", + "cofactor": "01000F00E10CE4", + "generator": "D6982759F3D5107E" +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/context.json b/data/range-proofs/sample/jefferson-primary/election_record/context.json new file mode 100644 index 00000000..5cf881d6 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/context.json @@ -0,0 +1,14 @@ +{ + "number_of_guardians": 5, + "quorum": 3, + "elgamal_public_key": "2E9636EEEE7461B2", + "commitment_hash": "F70F", + "manifest_hash": "6A75", + "crypto_base_hash": "C928", + "crypto_extended_base_hash": "613A", + "extended_data": null, + "configuration": { + "allow_overvotes": true, + "max_votes": 1000000 + } +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/encrypted_tally.json b/data/range-proofs/sample/jefferson-primary/election_record/encrypted_tally.json new file mode 100644 index 00000000..da244271 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/encrypted_tally.json @@ -0,0 +1,116 @@ +{ + "object_id": "election-results", + "contests": { + "justice-supreme-court": { + "object_id": "justice-supreme-court", + "sequence_order": 1, + "description_hash": "5E36", + "selections": { + "john-adams-selection": { + "object_id": "john-adams-selection", + "sequence_order": 1, + "description_hash": "04C8", + "ciphertext": { + "pad": "3465224BB1D0CBCA", + "data": "5F4F2B5C053514A3" + } + }, + "benjamin-franklin-selection": { + "object_id": "benjamin-franklin-selection", + "sequence_order": 2, + "description_hash": "84DC", + "ciphertext": { + "pad": "4CA376F85BD31CEC", + "data": "E17A2AD774413AFC" + } + }, + "john-hancock-selection": { + "object_id": "john-hancock-selection", + "sequence_order": 3, + "description_hash": "663D", + "ciphertext": { + "pad": "639DC02360FC0CED", + "data": "02DDF49D4C09E98F" + } + }, + "write-in-selection": { + "object_id": "write-in-selection", + "sequence_order": 4, + "description_hash": "4B6E", + "ciphertext": { + "pad": "A729992A607D353F", + "data": "FB2D37CD98BDA85B" + } + } + } + }, + "referendum-pineapple": { + "object_id": "referendum-pineapple", + "sequence_order": 2, + "description_hash": "FC79", + "selections": { + "referendum-pineapple-affirmative-selection": { + "object_id": "referendum-pineapple-affirmative-selection", + "sequence_order": 1, + "description_hash": "B676", + "ciphertext": { + "pad": "948B5934E5D86F5B", + "data": "BA5C85D8546D79E8" + } + }, + "referendum-pineapple-negative-selection": { + "object_id": "referendum-pineapple-negative-selection", + "sequence_order": 2, + "description_hash": "ADE5", + "ciphertext": { + "pad": "96F587657DB15203", + "data": "E24D92C22889FF09" + } + } + } + }, + "official-bagel-style": { + "object_id": "official-bagel-style", + "sequence_order": 3, + "description_hash": "DE8C", + "selections": { + "new-york-style-selection": { + "object_id": "new-york-style-selection", + "sequence_order": 1, + "description_hash": "F382", + "ciphertext": { + "pad": "BE675E3C46202596", + "data": "4719BAF22792C8FA" + } + }, + "montreal-style-selection": { + "object_id": "montreal-style-selection", + "sequence_order": 2, + "description_hash": "5D9A", + "ciphertext": { + "pad": "B6BF141B3DC634D8", + "data": "188965F0A3D27523" + } + }, + "st-louis-style-selection": { + "object_id": "st-louis-style-selection", + "sequence_order": 3, + "description_hash": "05ED", + "ciphertext": { + "pad": "432679540266623B", + "data": "12B623ED7839BFCC" + } + }, + "write-in-style-selection": { + "object_id": "write-in-style-selection", + "sequence_order": 4, + "description_hash": "E9BF", + "ciphertext": { + "pad": "2A8E08F17726AE77", + "data": "8DD6076433970553" + } + } + } + } + } +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/encryption_devices/device_190070690681122.json b/data/range-proofs/sample/jefferson-primary/election_record/encryption_devices/device_190070690681122.json new file mode 100644 index 00000000..ae0b4db2 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/encryption_devices/device_190070690681122.json @@ -0,0 +1,6 @@ +{ + "device_id": 190070690681122, + "session_id": 12345, + "launch_code": 45678, + "location": "polling-place" +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/encryption_devices/device_66351922830468.json b/data/range-proofs/sample/jefferson-primary/election_record/encryption_devices/device_66351922830468.json new file mode 100644 index 00000000..1f0ad6c0 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/encryption_devices/device_66351922830468.json @@ -0,0 +1 @@ +{"device_id": 66351922830468, "session_id": 12345, "launch_code": 45678, "location": "polling-place"} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/encryption_devices/device_66351922830471.json b/data/range-proofs/sample/jefferson-primary/election_record/encryption_devices/device_66351922830471.json new file mode 100644 index 00000000..d074a42c --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/encryption_devices/device_66351922830471.json @@ -0,0 +1,6 @@ +{ + "device_id": 66351922830471, + "session_id": 12345, + "launch_code": 45678, + "location": "polling-place" +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/encryption_devices/device_91757050727.json b/data/range-proofs/sample/jefferson-primary/election_record/encryption_devices/device_91757050727.json new file mode 100644 index 00000000..218da050 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/encryption_devices/device_91757050727.json @@ -0,0 +1,6 @@ +{ + "device_id": 91757050727, + "session_id": 12345, + "launch_code": 45678, + "location": "polling-place" +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_1.json b/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_1.json new file mode 100644 index 00000000..7dcc5203 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_1.json @@ -0,0 +1,33 @@ +{ + "guardian_id": "1", + "sequence_order": 1, + "election_public_key": "97A8D061E44D3C4A", + "election_commitments": [ + "97A8D061E44D3C4A", + "060C693748D0A269", + "049E7A4F1F55A06D" + ], + "election_proofs": [ + { + "public_key": "97A8D061E44D3C4A", + "commitment": "20C3FD348E1EC7C8", + "challenge": "38FB", + "response": "D362", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "060C693748D0A269", + "commitment": "8E0C2178973355CC", + "challenge": "87F2", + "response": "36BB", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "049E7A4F1F55A06D", + "commitment": "962E88A421C1B6EC", + "challenge": "0B37", + "response": "C79D", + "usage": "Prove knowledge of secret value" + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_2.json b/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_2.json new file mode 100644 index 00000000..585958b6 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_2.json @@ -0,0 +1,33 @@ +{ + "guardian_id": "2", + "sequence_order": 2, + "election_public_key": "F2FE3AD6076B04B7", + "election_commitments": [ + "F2FE3AD6076B04B7", + "A4B06C1AA221EB0E", + "E65CA77B5458157D" + ], + "election_proofs": [ + { + "public_key": "F2FE3AD6076B04B7", + "commitment": "409753D0E20C3172", + "challenge": "FAA5", + "response": "E156", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "A4B06C1AA221EB0E", + "commitment": "C47364718E80E034", + "challenge": "9D5A", + "response": "4592", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "E65CA77B5458157D", + "commitment": "C85CC359ABBEF28C", + "challenge": "1E5D", + "response": "9A71", + "usage": "Prove knowledge of secret value" + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_3.json b/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_3.json new file mode 100644 index 00000000..df5bda33 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_3.json @@ -0,0 +1,33 @@ +{ + "guardian_id": "3", + "sequence_order": 3, + "election_public_key": "1088205F42AB5C7A", + "election_commitments": [ + "1088205F42AB5C7A", + "AB9AC308618AA1F3", + "4B6AEDB1248D71EE" + ], + "election_proofs": [ + { + "public_key": "1088205F42AB5C7A", + "commitment": "77A5758CDD23FF54", + "challenge": "F085", + "response": "CB02", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "AB9AC308618AA1F3", + "commitment": "6A66E9B71FAFFE2E", + "challenge": "6CB1", + "response": "4D04", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "4B6AEDB1248D71EE", + "commitment": "2BDBA187D908F515", + "challenge": "4B69", + "response": "F3F3", + "usage": "Prove knowledge of secret value" + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_4.json b/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_4.json new file mode 100644 index 00000000..8d85bbd0 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_4.json @@ -0,0 +1,33 @@ +{ + "guardian_id": "4", + "sequence_order": 4, + "election_public_key": "F06736A826B83724", + "election_commitments": [ + "F06736A826B83724", + "3469ACE138CF8FB2", + "5963B613BAA1C688" + ], + "election_proofs": [ + { + "public_key": "F06736A826B83724", + "commitment": "A79C3111EA089081", + "challenge": "B1DC", + "response": "C044", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "3469ACE138CF8FB2", + "commitment": "4495A5521C86B1D2", + "challenge": "801F", + "response": "1122", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "5963B613BAA1C688", + "commitment": "1D358AA0A482F947", + "challenge": "FF9F", + "response": "5E03", + "usage": "Prove knowledge of secret value" + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_5.json b/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_5.json new file mode 100644 index 00000000..6ad0cf25 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/guardians/guardian_5.json @@ -0,0 +1,33 @@ +{ + "guardian_id": "5", + "sequence_order": 5, + "election_public_key": "476FD37B192A21AF", + "election_commitments": [ + "476FD37B192A21AF", + "756CBED3F970A1DF", + "899941DCAD1AC6C3" + ], + "election_proofs": [ + { + "public_key": "476FD37B192A21AF", + "commitment": "CFDA4A4B8EC4D2CA", + "challenge": "19CF", + "response": "022B", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "756CBED3F970A1DF", + "commitment": "B99382552A4DB305", + "challenge": "A197", + "response": "DB1F", + "usage": "Prove knowledge of secret value" + }, + { + "public_key": "899941DCAD1AC6C3", + "commitment": "D05D26F884BCFA41", + "challenge": "2480", + "response": "2620", + "usage": "Prove knowledge of secret value" + } + ] +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/manifest.json b/data/range-proofs/sample/jefferson-primary/election_record/manifest.json new file mode 100644 index 00000000..e7b7d2da --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/manifest.json @@ -0,0 +1,475 @@ +{ + "election_scope_id": "jefferson-county-primary", + "spec_version": "v0.95", + "type": "primary", + "start_date": "2020-03-01T08:00:00-05:00", + "end_date": "2020-03-01T20:00:00-05:00", + "geopolitical_units": [ + { + "object_id": "jefferson-county", + "name": "Jefferson County", + "type": "county", + "contact_information": { + "address_line": [ + "1234 Samuel Adams Way", + "Jefferson, Hamilton 999999" + ], + "email": [ + { + "annotation": "inquiries", + "value": "inquiries@jefferson.hamilton.state.gov" + } + ], + "phone": [ + { + "annotation": "domestic", + "value": "123-456-7890" + } + ], + "name": "Jefferson County Clerk" + } + }, + { + "object_id": "harrison-township", + "name": "Harrison Township", + "type": "township", + "contact_information": { + "address_line": [ + "1234 Thorton Drive", + "Harrison, Hamilton 999999" + ], + "email": [ + { + "annotation": "inquiries", + "value": "inquiries@harrison.hamilton.state.gov" + } + ], + "phone": [ + { + "annotation": "domestic", + "value": "123-456-7890" + } + ], + "name": "Harrison Town Hall" + } + }, + { + "object_id": "harrison-township-precinct-east", + "name": "Harrison Township Precinct", + "type": "township", + "contact_information": { + "address_line": [ + "1234 Thorton Drive", + "Harrison, Hamilton 999999" + ], + "email": [ + { + "annotation": "inquiries", + "value": "inquiries@harrison.hamilton.state.gov" + } + ], + "phone": [ + { + "annotation": "domestic", + "value": "123-456-7890" + } + ], + "name": "Harrison Town Hall" + } + }, + { + "object_id": "rutledge-elementary", + "name": "Rutledge Elementary School district", + "type": "school", + "contact_information": { + "address_line": [ + "1234 Wolcott Parkway", + "Harrison, Hamilton 999999" + ], + "email": [ + { + "annotation": "inquiries", + "value": "inquiries@harrison.hamilton.state.gov" + } + ], + "phone": [ + { + "annotation": "domestic", + "value": "123-456-7890" + } + ], + "name": "Rutledge Elementary School" + } + } + ], + "parties": [ + { + "object_id": "whig", + "name": { + "text": [ + { + "value": "Whig Party", + "language": "en" + } + ] + }, + "abbreviation": "WHI", + "color": "AAAAAA", + "logo_uri": "http://some/path/to/whig.svg" + }, + { + "object_id": "federalist", + "name": { + "text": [ + { + "value": "Federalist Party", + "language": "en" + } + ] + }, + "abbreviation": "FED", + "color": "CCCCCC", + "logo_uri": "http://some/path/to/federalist.svg" + }, + { + "object_id": "democratic-republican", + "name": { + "text": [ + { + "value": "Democratic Republican Party", + "language": "en" + } + ] + }, + "abbreviation": "DEMREP", + "color": "EEEEEE", + "logo_uri": "http://some/path/to/democratic-repulbican.svg" + } + ], + "candidates": [ + { + "object_id": "benjamin-franklin", + "name": { + "text": [ + { + "value": "Benjamin Franklin", + "language": "en" + } + ] + }, + "party_id": "whig", + "image_uri": null, + "is_write_in": null + }, + { + "object_id": "john-adams", + "name": { + "text": [ + { + "value": "John Adams", + "language": "en" + } + ] + }, + "party_id": "federalist", + "image_uri": null, + "is_write_in": null + }, + { + "object_id": "john-hancock", + "name": { + "text": [ + { + "value": "John Hancock", + "language": "en" + } + ] + }, + "party_id": "democratic-republican", + "image_uri": null, + "is_write_in": null + }, + { + "object_id": "write-in", + "name": { + "text": [ + { + "value": "Write In Candidate", + "language": "en" + }, + { + "value": "Escribir en la candidata", + "language": "es" + } + ] + }, + "party_id": null, + "image_uri": null, + "is_write_in": true + }, + { + "object_id": "referendum-pineapple-affirmative", + "name": { + "text": [ + { + "value": "Pineapple should be banned on pizza", + "language": "en" + } + ] + }, + "party_id": null, + "image_uri": null, + "is_write_in": null + }, + { + "object_id": "referendum-pineapple-negative", + "name": { + "text": [ + { + "value": "Pineapple should not be banned on pizza", + "language": "en" + } + ] + }, + "party_id": null, + "image_uri": null, + "is_write_in": null + } + ], + "contests": [ + { + "object_id": "justice-supreme-court", + "sequence_order": 1, + "electoral_district_id": "jefferson-county", + "name": "Justice of the Supreme Court", + "vote_variation": "n_of_m", + "votes_allowed": 2, + "votes_allowed_per_selection": 1, + "ballot_selections": [ + { + "object_id": "john-adams-selection", + "sequence_order": 1, + "candidate_id": "john-adams" + }, + { + "object_id": "benjamin-franklin-selection", + "sequence_order": 2, + "candidate_id": "benjamin-franklin" + }, + { + "object_id": "john-hancock-selection", + "sequence_order": 3, + "candidate_id": "john-hancock" + }, + { + "object_id": "write-in-selection", + "sequence_order": 4, + "candidate_id": "write-in" + } + ], + "ballot_title": { + "text": [ + { + "value": "Justice of the Supreme Court", + "language": "en" + }, + { + "value": "Juez de la corte suprema", + "language": "es" + } + ] + }, + "ballot_subtitle": { + "text": [ + { + "value": "Please choose up to two candidates", + "language": "en" + }, + { + "value": "Uno", + "language": "es" + } + ] + } + }, + { + "object_id": "referendum-pineapple", + "sequence_order": 2, + "electoral_district_id": "harrison-township", + "name": "The Pineapple Question", + "vote_variation": "one_of_m", + "votes_allowed": 1, + "votes_allowed_per_selection": 1, + "ballot_selections": [ + { + "object_id": "referendum-pineapple-affirmative-selection", + "sequence_order": 1, + "candidate_id": "referendum-pineapple-affirmative" + }, + { + "object_id": "referendum-pineapple-negative-selection", + "sequence_order": 2, + "candidate_id": "referendum-pineapple-negative" + } + ], + "ballot_title": { + "text": [ + { + "value": "Should pineapple be banned on pizza?", + "language": "en" + }, + { + "value": "\u00bfDeber\u00eda prohibirse la pi\u00f1a en la pizza?", + "language": "es" + } + ] + }, + "ballot_subtitle": { + "text": [ + { + "value": "The township considers this issue to be very important", + "language": "en" + }, + { + "value": "El municipio considera que esta cuesti\u00f3n es muy importante", + "language": "es" + } + ] + } + }, + { + "object_id": "official-bagel-style", + "sequence_order": 3, + "electoral_district_id": "harrison-township", + "name": "The Bagel Question", + "vote_variation": "cumulative", + "votes_allowed": 3, + "votes_allowed_per_selection": 3, + "ballot_selections": [ + { + "object_id": "new-york-style-selection", + "sequence_order": 1, + "candidate_id": "new-york-style" + }, + { + "object_id": "montreal-style-selection", + "sequence_order": 2, + "candidate_id": "montreal-style" + }, + { + "object_id": "st-louis-style-selection", + "sequence_order": 3, + "candidate_id": "st-louis-style" + }, + { + "object_id": "write-in-style-selection", + "sequence_order": 4, + "candidate_id": "write-in-style" + } + ], + "ballot_title": { + "text": [ + { + "value": "Harrison official bagel style", + "language": "en" + }, + { + "value": "Estilo bagel oficial de Harrison", + "language": "es" + } + ] + }, + "ballot_subtitle": { + "text": [ + { + "value": "Please allot up to three points", + "language": "en" + }, + { + "value": "Por favor asigne hasta tres puntos", + "language": "es" + } + ] + } + } + ], + "ballot_styles": [ + { + "object_id": "jefferson-county-ballot-style", + "geopolitical_unit_ids": [ + "jefferson-county" + ], + "party_ids": null, + "image_uri": null + }, + { + "object_id": "harrison-township-ballot-style", + "geopolitical_unit_ids": [ + "jefferson-county", + "harrison-township" + ], + "party_ids": null, + "image_uri": null + }, + { + "object_id": "harrison-township-precinct-east-ballot-style", + "geopolitical_unit_ids": [ + "jefferson-county", + "harrison-township", + "harrison-township-precinct-east", + "rutledge-elementary" + ], + "party_ids": null, + "image_uri": null + }, + { + "object_id": "rutledge-elementary-ballot-style", + "geopolitical_unit_ids": [ + "jefferson-county", + "harrison-township", + "rutledge-elementary" + ], + "party_ids": null, + "image_uri": null + } + ], + "name": { + "text": [ + { + "value": "Jefferson County Spring Primary", + "language": "en" + }, + { + "value": "Primaria de primavera del condado de Jefferson", + "language": "es" + } + ] + }, + "contact_information": { + "address_line": [ + "1234 Paul Revere Run", + "Jefferson, Hamilton 999999" + ], + "email": [ + { + "annotation": "press", + "value": "inquiries@hamilton.state.gov" + }, + { + "annotation": "federal", + "value": "commissioner@hamilton.state.gov" + } + ], + "phone": [ + { + "annotation": "domestic", + "value": "123-456-7890" + }, + { + "annotation": "international", + "value": "+1-123-456-7890" + } + ], + "name": "Hamilton State Election Commission" + } +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_03a29d15-667c-4ac8-afd7-549f19b8e4eb.json b/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_03a29d15-667c-4ac8-afd7-549f19b8e4eb.json new file mode 100644 index 00000000..16ba6ea8 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_03a29d15-667c-4ac8-afd7-549f19b8e4eb.json @@ -0,0 +1,314 @@ +{ + "object_id": "03a29d15-667c-4ac8-afd7-549f19b8e4eb", + "contests": { + "justice-supreme-court": { + "object_id": "justice-supreme-court", + "selections": { + "john-adams-selection": { + "object_id": "john-adams-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "8E6B9F77C406C27E", + "data": "11EC06AA0B870706" + }, + "shares": [ + { + "object_id": "john-adams-selection", + "guardian_id": "1", + "share": "0C8FB80A83E20A51", + "proof": { + "pad": "D897EF433A21CC6F", + "data": "58321682C907D130", + "challenge": "5CFF", + "response": "55F5", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "2", + "share": "335BCD0C8087570B", + "proof": { + "pad": "41647FA3E31E4403", + "data": "32F16EE6FA49A70B", + "challenge": "84AE", + "response": "F6DC", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "3", + "share": "7EAF876A27081FE8", + "proof": { + "pad": "24C21AB5DE50C473", + "data": "BA8EFA9DD036394C", + "challenge": "9739", + "response": "7F15", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "4", + "share": "7CA708E886165DD0", + "proof": { + "pad": "E9510A87949DC04A", + "data": "39866ECA9CAA6EC2", + "challenge": "711A", + "response": "5B46", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "5", + "share": "083C6629CA4D9DFA", + "proof": { + "pad": "EC00FDAF078B7218", + "data": "CEBD10FED951258F", + "challenge": "0A69", + "response": "4C73", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "benjamin-franklin-selection": { + "object_id": "benjamin-franklin-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "58BFD51B4181A1F5", + "data": "1F45FA827E65A5ED" + }, + "shares": [ + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "1", + "share": "912FE146C74434A9", + "proof": { + "pad": "90CBAC16FE0A211B", + "data": "981805DA173131FD", + "challenge": "3F8E", + "response": "E513", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "2", + "share": "C84B7D2BF3B539FC", + "proof": { + "pad": "9C4F0AA26517F4D7", + "data": "64EAFE89500F7CC4", + "challenge": "214F", + "response": "1F28", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "3", + "share": "32DC35CB50AC6A00", + "proof": { + "pad": "2861D94ACD320116", + "data": "9236845B10A210DF", + "challenge": "2961", + "response": "17B8", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "4", + "share": "E7BFC3A8350B0A14", + "proof": { + "pad": "37B4CEB97CA592E3", + "data": "80E3D05863767577", + "challenge": "C11D", + "response": "7AA1", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "5", + "share": "F17E5CA58C7B3F87", + "proof": { + "pad": "8000157555A8069E", + "data": "26B050BA653E3379", + "challenge": "B5FA", + "response": "0E9F", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "john-hancock-selection": { + "object_id": "john-hancock-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "9E90BC940821E9D7", + "data": "9B9064ECA0608801" + }, + "shares": [ + { + "object_id": "john-hancock-selection", + "guardian_id": "1", + "share": "4D036376A5569FFA", + "proof": { + "pad": "FB4F1C6855FB5A02", + "data": "25AA44F8F45F4059", + "challenge": "F7EB", + "response": "83B9", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "2", + "share": "90D89824C26DBD55", + "proof": { + "pad": "4BD429621F291BFF", + "data": "09DCC98AB634838B", + "challenge": "4500", + "response": "EE35", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "3", + "share": "CC1445DFAF30C9C6", + "proof": { + "pad": "C23E5F52A81E6529", + "data": "A63CEFCF7F58BD1F", + "challenge": "5B67", + "response": "8FC7", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "4", + "share": "5B3D989E7AFED4DE", + "proof": { + "pad": "D324A949E4FAC117", + "data": "7FD621DE0411B28A", + "challenge": "416D", + "response": "3BB8", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "5", + "share": "0DD37004265D8AF4", + "proof": { + "pad": "233EBAA55DD6877F", + "data": "86FADEF9166BA40A", + "challenge": "A0FE", + "response": "F4B9", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "write-in-selection": { + "object_id": "write-in-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "0FED2719752117A9", + "data": "A2DF81EF5FF5EA02" + }, + "shares": [ + { + "object_id": "write-in-selection", + "guardian_id": "1", + "share": "CF5A71EFFF329FFF", + "proof": { + "pad": "16BD6034416D052A", + "data": "07CEA337C5F9727C", + "challenge": "CDE4", + "response": "CE4F", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "2", + "share": "4F8D50EB49A34CA1", + "proof": { + "pad": "E4AC54B8C2F9E369", + "data": "A7B2679F99DA8C29", + "challenge": "3138", + "response": "B65D", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "3", + "share": "77A9112D513C4FA7", + "proof": { + "pad": "7D1FF0D57DB78515", + "data": "F7E99B5C1456C4A1", + "challenge": "E514", + "response": "0E1A", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "4", + "share": "3B2156C97357D863", + "proof": { + "pad": "1C4CE27F16A5C7FB", + "data": "2975429FC21DEC99", + "challenge": "FDDD", + "response": "13AB", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "5", + "share": "93700B8D68BF48F2", + "proof": { + "pad": "D7BAE02D8321204F", + "data": "30D336A8E479CAC1", + "challenge": "48B5", + "response": "14F1", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_25a7111b-4334-425a-87c1-f7a49f42b3a2.json b/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_25a7111b-4334-425a-87c1-f7a49f42b3a2.json new file mode 100644 index 00000000..3fc982dc --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_25a7111b-4334-425a-87c1-f7a49f42b3a2.json @@ -0,0 +1,314 @@ +{ + "object_id": "25a7111b-4334-425a-87c1-f7a49f42b3a2", + "contests": { + "justice-supreme-court": { + "object_id": "justice-supreme-court", + "selections": { + "john-adams-selection": { + "object_id": "john-adams-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "BAB9A64EF1F83AAA", + "data": "9B9115F8114C0227" + }, + "shares": [ + { + "object_id": "john-adams-selection", + "guardian_id": "1", + "share": "432679540266623B", + "proof": { + "pad": "31D887EBBBC86160", + "data": "3F827C1E9141F3E2", + "challenge": "E7AF", + "response": "AB24", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "2", + "share": "38D4B40CB80929E5", + "proof": { + "pad": "7CB202408816D079", + "data": "775D96E84AF52C95", + "challenge": "89E7", + "response": "7923", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "3", + "share": "FB66B1A55A27FC81", + "proof": { + "pad": "443F5C0F75B4D904", + "data": "4BA579D46F37B43C", + "challenge": "9797", + "response": "C6", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "4", + "share": "55F9F7E415E266A1", + "proof": { + "pad": "A8A0A9CA2001B98B", + "data": "18C89A496C023F26", + "challenge": "ED20", + "response": "A1CB", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "5", + "share": "4648DF8C52C440BF", + "proof": { + "pad": "122BE5B5BD0E9415", + "data": "F061F048BE6C2131", + "challenge": "F479", + "response": "6394", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "benjamin-franklin-selection": { + "object_id": "benjamin-franklin-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "A618582A60C292D5", + "data": "08E7D363403829EE" + }, + "shares": [ + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "1", + "share": "6B218E754F7BD1F5", + "proof": { + "pad": "31BD7CC8D56BE92E", + "data": "597D353561B4F9B5", + "challenge": "CC11", + "response": "9D63", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "2", + "share": "B50A336138018C4D", + "proof": { + "pad": "DBD2DA5DA97AF45B", + "data": "9639E2E49F6679AD", + "challenge": "7ABD", + "response": "1C19", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "3", + "share": "CFBD55E5F8521E6B", + "proof": { + "pad": "BA8FC6A932072DCC", + "data": "F4021174D6D2E335", + "challenge": "4607", + "response": "244D", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "4", + "share": "72E9C9AAA0F81878", + "proof": { + "pad": "13994C8D44907CA6", + "data": "7BE46EE97CCB7BAA", + "challenge": "6F70", + "response": "3046", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "5", + "share": "BF4527DA0CB8B80B", + "proof": { + "pad": "176A7C73E4F3837D", + "data": "0A3E745CED6DBEAE", + "challenge": "EE45", + "response": "C1CC", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "john-hancock-selection": { + "object_id": "john-hancock-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "48BE010430999369", + "data": "6595556EF5A4B477" + }, + "shares": [ + { + "object_id": "john-hancock-selection", + "guardian_id": "1", + "share": "B1FAED30E9957502", + "proof": { + "pad": "58DF86C1FF3B2D77", + "data": "93C428AD7895036B", + "challenge": "7986", + "response": "26C2", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "2", + "share": "5F394601946D83FB", + "proof": { + "pad": "706C7F5B444648DF", + "data": "15385E2D071CEEF9", + "challenge": "A82A", + "response": "A8FE", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "3", + "share": "4BA6B616BA170AF5", + "proof": { + "pad": "01E3377D00D41AA8", + "data": "91B6C423E3AE891A", + "challenge": "F7F9", + "response": "D975", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "4", + "share": "BB7FCCD91DB7C2C4", + "proof": { + "pad": "99A5B2BD91830158", + "data": "AB13D36C0D84EBBD", + "challenge": "14A4", + "response": "D82E", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "5", + "share": "707E4424A3469740", + "proof": { + "pad": "57FD9C93F8B70DE7", + "data": "E8E013E0023573FD", + "challenge": "F086", + "response": "E592", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "write-in-selection": { + "object_id": "write-in-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "42E57868827307D4", + "data": "617461E9F75D524D" + }, + "shares": [ + { + "object_id": "write-in-selection", + "guardian_id": "1", + "share": "098EAA23F133AD86", + "proof": { + "pad": "569BBD4EF7756C83", + "data": "088AC5460D38A958", + "challenge": "62B6", + "response": "E988", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "2", + "share": "14B9CEA437D5D562", + "proof": { + "pad": "988217668F7F37AC", + "data": "A65051B36512E073", + "challenge": "3F93", + "response": "032E", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "3", + "share": "7FA05BDE2543E3C1", + "proof": { + "pad": "45FFF80A7F20D0D3", + "data": "86D784B95FA59448", + "challenge": "CDF4", + "response": "5D64", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "4", + "share": "BC8684D36CE123", + "proof": { + "pad": "BE77206B15B2DD52", + "data": "F3EDA33DA04D45FA", + "challenge": "DB66", + "response": "08C5", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "5", + "share": "677343BE4A7B2E8B", + "proof": { + "pad": "854BEF2BE0251E80", + "data": "7BF4F6B7FC7E0C39", + "challenge": "6A63", + "response": "C278", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_5a150c74-a2cb-47f6-b575-165ba8a4ce53.json b/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_5a150c74-a2cb-47f6-b575-165ba8a4ce53.json new file mode 100644 index 00000000..f3144dd0 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_5a150c74-a2cb-47f6-b575-165ba8a4ce53.json @@ -0,0 +1,780 @@ +{ + "object_id": "5a150c74-a2cb-47f6-b575-165ba8a4ce53", + "contests": { + "justice-supreme-court": { + "object_id": "justice-supreme-court", + "selections": { + "john-adams-selection": { + "object_id": "john-adams-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "97DD1EB8313DC5FE", + "data": "402C4EBCE265C837" + }, + "shares": [ + { + "object_id": "john-adams-selection", + "guardian_id": "1", + "share": "14CF35B105D09531", + "proof": { + "pad": "162F5C60609EB77A", + "data": "15AD96A530791B60", + "challenge": "2877", + "response": "1642", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "2", + "share": "F01BE1F0EEFC8027", + "proof": { + "pad": "636D34A5964EF4A2", + "data": "F283E5AAB736D139", + "challenge": "5A8A", + "response": "F289", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "3", + "share": "59747FC571EF75D0", + "proof": { + "pad": "54D8DA33415FE326", + "data": "E84B4347F1577619", + "challenge": "D32A", + "response": "64F3", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "4", + "share": "80E4B5D8E9A7CD81", + "proof": { + "pad": "2FF6D0FA2F7638D7", + "data": "E201AB1F427D6C83", + "challenge": "E88D", + "response": "6E44", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "5", + "share": "66E6D2A39FAC13D7", + "proof": { + "pad": "0330B4CE8521ED45", + "data": "E288087E4F69C7E5", + "challenge": "7CFC", + "response": "AFF7", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "benjamin-franklin-selection": { + "object_id": "benjamin-franklin-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "855F1275C06524D2", + "data": "B140BFD3FD707C33" + }, + "shares": [ + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "1", + "share": "7F0F31E35EF59C97", + "proof": { + "pad": "B4B4758BFAD46A9D", + "data": "2E569B6D44CAC311", + "challenge": "8C42", + "response": "A2EE", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "2", + "share": "F96BAF61E9AC76E4", + "proof": { + "pad": "2CF324EBCFC4DA8B", + "data": "7BEC3CA3DBD91089", + "challenge": "C77F", + "response": "528D", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "3", + "share": "1BB6B676D0EDA19A", + "proof": { + "pad": "6E521B2ADDC9512F", + "data": "B079714C5AD695E8", + "challenge": "AC8D", + "response": "749D", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "4", + "share": "5D3F2F44F19230C7", + "proof": { + "pad": "78A7DEFB062E36EE", + "data": "DC986D2947B921E5", + "challenge": "29C9", + "response": "3C47", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "5", + "share": "EC34D4146C59FBD7", + "proof": { + "pad": "642539C92AF82AC2", + "data": "70EB623EA734E22A", + "challenge": "2C3C", + "response": "2DE3", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "john-hancock-selection": { + "object_id": "john-hancock-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "5CCD0B0A9251BDE1", + "data": "D6F38EC357CFA65E" + }, + "shares": [ + { + "object_id": "john-hancock-selection", + "guardian_id": "1", + "share": "529D600AB2C5601A", + "proof": { + "pad": "A0489DDDD2C109EF", + "data": "CD8F71AED4F66673", + "challenge": "D3DE", + "response": "9FB6", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "2", + "share": "70F898A383ABBDE1", + "proof": { + "pad": "DFD97D6A5838AD2E", + "data": "701EC2ABC250EC94", + "challenge": "EA77", + "response": "1CDA", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "3", + "share": "CDC1F0BBE8E54039", + "proof": { + "pad": "593102BBE3E14C8D", + "data": "485018E119A5F7D2", + "challenge": "6AB5", + "response": "E6E4", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "4", + "share": "A74F23782A1A661B", + "proof": { + "pad": "48B7904751FAA784", + "data": "8F46A0ADCF7A20CD", + "challenge": "C03A", + "response": "90DA", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "5", + "share": "88A3DFAA2F2F8431", + "proof": { + "pad": "41368D36242804F6", + "data": "9369A0DD5CA51F5D", + "challenge": "CFAD", + "response": "4336", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "write-in-selection": { + "object_id": "write-in-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "4D4ADE900C7CBC92", + "data": "D72BD3CE044D2DC1" + }, + "shares": [ + { + "object_id": "write-in-selection", + "guardian_id": "1", + "share": "72573C4BC287B656", + "proof": { + "pad": "5C0F1080F8549B4A", + "data": "C66A0A8933638252", + "challenge": "3163", + "response": "8484", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "2", + "share": "3FC3505D98002ECF", + "proof": { + "pad": "77DF33723936BC17", + "data": "085F3DC4465972F6", + "challenge": "A9D6", + "response": "09CE", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "3", + "share": "BB1A0AC47FFC7FEA", + "proof": { + "pad": "2826F477D9AB1AB4", + "data": "900F82E02C3C10C7", + "challenge": "A75B", + "response": "1089", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "4", + "share": "FC166595EF0A89B7", + "proof": { + "pad": "461D711E0D8B5296", + "data": "0F7B23970E9F99", + "challenge": "66B5", + "response": "A133", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "5", + "share": "4517B8FE8D1337DC", + "proof": { + "pad": "924B476B7D33C16E", + "data": "90CA9296988C0251", + "challenge": "F41C", + "response": "CC14", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + } + } + }, + "referendum-pineapple": { + "object_id": "referendum-pineapple", + "selections": { + "referendum-pineapple-affirmative-selection": { + "object_id": "referendum-pineapple-affirmative-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "47791CAEED528E06", + "data": "AEC396D3DDCB80A4" + }, + "shares": [ + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "1", + "share": "F56119DBD97FC066", + "proof": { + "pad": "993A36A06F9E5025", + "data": "503C644FB63B4C61", + "challenge": "78C8", + "response": "30EF", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "2", + "share": "12952DCF5ED0B95D", + "proof": { + "pad": "14BBB7EEBAC0C72B", + "data": "0A217F84303DCE0D", + "challenge": "F18C", + "response": "65A5", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "3", + "share": "A09E378A972111CF", + "proof": { + "pad": "CA1D0C66D8C53DE7", + "data": "408D1C520A4F6EED", + "challenge": "934F", + "response": "4E53", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "4", + "share": "84F7F1EA96063163", + "proof": { + "pad": "3E616081C31476CE", + "data": "968AB0D7A5A2F0AC", + "challenge": "9079", + "response": "33E6", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "5", + "share": "E03C255923884F2A", + "proof": { + "pad": "E499904DA3D9DC3A", + "data": "AE3DC6D9B28C4C9D", + "challenge": "424A", + "response": "2F65", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "referendum-pineapple-negative-selection": { + "object_id": "referendum-pineapple-negative-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "063B44EBAAD99E63", + "data": "DDCF329306430F97" + }, + "shares": [ + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "1", + "share": "C09DB9067350C4D9", + "proof": { + "pad": "48739AAA44ED75DA", + "data": "61BB56335CF4D1C5", + "challenge": "8ADF", + "response": "A9E8", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "2", + "share": "190C49D9BA5B199A", + "proof": { + "pad": "3D6D5942B2911C33", + "data": "55C8A94304FBB499", + "challenge": "4140", + "response": "AE2B", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "3", + "share": "B0BE0654FCEE989B", + "proof": { + "pad": "FE454991082B6320", + "data": "C62869A9DBEA49CD", + "challenge": "D27E", + "response": "5994", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "4", + "share": "F5EF50F645E13332", + "proof": { + "pad": "76AFE7C842693876", + "data": "4BF2BC99168573E8", + "challenge": "1955", + "response": "AFA2", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "5", + "share": "431ABED8455FD9ED", + "proof": { + "pad": "D9C0D60130839AD4", + "data": "261FABEFC28A264C", + "challenge": "9690", + "response": "6697", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + } + } + }, + "official-bagel-style": { + "object_id": "official-bagel-style", + "selections": { + "new-york-style-selection": { + "object_id": "new-york-style-selection", + "tally": 2, + "value": "A147CA31DE0F48C1", + "message": { + "pad": "7F262D8488D69DCB", + "data": "6BF0BB864375C6F4" + }, + "shares": [ + { + "object_id": "new-york-style-selection", + "guardian_id": "1", + "share": "5F9D182316D76D2D", + "proof": { + "pad": "1A8EC02192C6EC31", + "data": "6E5FB26AA17D6007", + "challenge": "A078", + "response": "D5B4", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "2", + "share": "697C28B9C489C665", + "proof": { + "pad": "9B9F25933256BB4F", + "data": "15F2CF2F3CBDD438", + "challenge": "0181", + "response": "B7D1", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "3", + "share": "5126CAF778EAC7C4", + "proof": { + "pad": "1C540C2BD09E026C", + "data": "315E63648362CF61", + "challenge": "F054", + "response": "804A", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "4", + "share": "24B733C5E3FF6027", + "proof": { + "pad": "DD74BC37A691879D", + "data": "49B4991B5BDA228A", + "challenge": "608B", + "response": "21AE", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "5", + "share": "15588BB6C3C5FAB1", + "proof": { + "pad": "A624DFB7BC9A4A33", + "data": "7E7EC077A5C3D59B", + "challenge": "BD81", + "response": "D6BD", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "montreal-style-selection": { + "object_id": "montreal-style-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "BE4C03EDA37BD8AF", + "data": "B5D56CA6C6400D88" + }, + "shares": [ + { + "object_id": "montreal-style-selection", + "guardian_id": "1", + "share": "A6ADC996B2D6BBD6", + "proof": { + "pad": "5FAA18097828298B", + "data": "B91A7CD1CE299D87", + "challenge": "DB07", + "response": "76AB", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "2", + "share": "DF31FAEBA371CC37", + "proof": { + "pad": "73A80CA211C17BC2", + "data": "5ECEC084FD3D4093", + "challenge": "2E49", + "response": "60C3", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "3", + "share": "5E52950163CDE59A", + "proof": { + "pad": "4D8145B9F5285E7A", + "data": "764633DB3E075E5F", + "challenge": "71B4", + "response": "DF9D", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "4", + "share": "ADB4151BC9E18FE0", + "proof": { + "pad": "4D322DF4F7A0FBCA", + "data": "E23BA71807E1484A", + "challenge": "BEAA", + "response": "E021", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "5", + "share": "F6314BEDADE62E82", + "proof": { + "pad": "18DEA0D9ABF17708", + "data": "90A1A8B0CE4457CF", + "challenge": "F1DB", + "response": "11DB", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "st-louis-style-selection": { + "object_id": "st-louis-style-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "1B2749EBEBD479FC", + "data": "76C9358B9102E304" + }, + "shares": [ + { + "object_id": "st-louis-style-selection", + "guardian_id": "1", + "share": "D1A42152E88FA7BE", + "proof": { + "pad": "0AE2AE667F33E3AE", + "data": "492F65CC9B241B77", + "challenge": "E68D", + "response": "D0F3", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "2", + "share": "982CC87A8BF100B5", + "proof": { + "pad": "6CCA09DD46A9B1A3", + "data": "73A48BDF81877FE2", + "challenge": "34E1", + "response": "017B", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "3", + "share": "F58F6E64132FDBE6", + "proof": { + "pad": "78AD627FF21BC145", + "data": "59E23CB0A448FBE2", + "challenge": "CA70", + "response": "B464", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "4", + "share": "200132FE6686C53E", + "proof": { + "pad": "B55FF13F0CA483BB", + "data": "093CE21ACD8CD977", + "challenge": "9370", + "response": "7A9E", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "5", + "share": "FB911331402EFBD5", + "proof": { + "pad": "0750AF38925E57C0", + "data": "C02C0D764033726E", + "challenge": "B786", + "response": "232E", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "write-in-style-selection": { + "object_id": "write-in-style-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "198BE2BB039842A5", + "data": "3AD4805A8DEC6981" + }, + "shares": [ + { + "object_id": "write-in-style-selection", + "guardian_id": "1", + "share": "DDCCB28C219F4075", + "proof": { + "pad": "10B29D2249D012D8", + "data": "8BA32B1A585940FC", + "challenge": "643D", + "response": "F611", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "2", + "share": "5704406795483334", + "proof": { + "pad": "3045B2DD36E927D0", + "data": "C82EF72FF39D0E80", + "challenge": "B0C3", + "response": "9357", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "3", + "share": "89D952884B7D99A0", + "proof": { + "pad": "27A34BC57E966F74", + "data": "9016292BE50FE7A5", + "challenge": "157F", + "response": "7B20", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "4", + "share": "15AA8CE41365A2A6", + "proof": { + "pad": "E47551964FE4CCF4", + "data": "C6AA316842CE2773", + "challenge": "A0C7", + "response": "259E", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "5", + "share": "2890D90CFBF84DDC", + "proof": { + "pad": "1CA9F8E4943221DB", + "data": "B8353F6969C49EAE", + "challenge": "48A7", + "response": "CB5D", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58.json b/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58.json new file mode 100644 index 00000000..3e6ef47a --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58.json @@ -0,0 +1,780 @@ +{ + "object_id": "69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58", + "contests": { + "justice-supreme-court": { + "object_id": "justice-supreme-court", + "selections": { + "john-adams-selection": { + "object_id": "john-adams-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "7A54021027A6C306", + "data": "362FF8E5C2ECBD17" + }, + "shares": [ + { + "object_id": "john-adams-selection", + "guardian_id": "1", + "share": "C51C94DEFC1B53CC", + "proof": { + "pad": "42A404011C618DAF", + "data": "37D948FB021C74CE", + "challenge": "345A", + "response": "9BFA", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "2", + "share": "74F3F8BB8FF258AE", + "proof": { + "pad": "28376AC13E9512BC", + "data": "9EDFFEAAC95E4DCE", + "challenge": "8C19", + "response": "8571", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "3", + "share": "1A2FFC4EB440F417", + "proof": { + "pad": "F32F4807B079FAF0", + "data": "DB1C0DF3370EC231", + "challenge": "C204", + "response": "1AC6", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "4", + "share": "193661A0662EC3B9", + "proof": { + "pad": "44C1AF52305DF911", + "data": "F89205035D5CDE94", + "challenge": "213E", + "response": "9C74", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "5", + "share": "4096A872F72A3994", + "proof": { + "pad": "515B23A47C63162C", + "data": "1C83CF557A1FCBD4", + "challenge": "150D", + "response": "E8DC", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "benjamin-franklin-selection": { + "object_id": "benjamin-franklin-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "10870EACE0C15267", + "data": "8E64BE4E4A5E2C2E" + }, + "shares": [ + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "1", + "share": "DD59E93EDDDA4313", + "proof": { + "pad": "DF9D16F5B47A9F3F", + "data": "90CC0D52BA89A548", + "challenge": "69DF", + "response": "26F3", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "2", + "share": "2B769DD47F5E587D", + "proof": { + "pad": "7B6C25BE54932A79", + "data": "E95192C4517412EF", + "challenge": "C5E2", + "response": "7EE3", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "3", + "share": "3C1FF5247CE2A3C6", + "proof": { + "pad": "AAFC712D201F8E57", + "data": "257A7B7EC2939100", + "challenge": "AB09", + "response": "AF4D", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "4", + "share": "459902C5F0EAC6DD", + "proof": { + "pad": "FEAB6CD5B35A2F22", + "data": "2DEC7597A66321F8", + "challenge": "338B", + "response": "0F18", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "5", + "share": "42E501BF2C01D9B9", + "proof": { + "pad": "A4DA1C0709F05368", + "data": "39EE1D87DD87EF1B", + "challenge": "41A6", + "response": "5115", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "john-hancock-selection": { + "object_id": "john-hancock-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "0C3E1125A28595E7", + "data": "68EE54426D887CEF" + }, + "shares": [ + { + "object_id": "john-hancock-selection", + "guardian_id": "1", + "share": "0C0E6E4BF6A61B4F", + "proof": { + "pad": "1D7FB6202CAEF1A1", + "data": "0BFCB1CC7C6E5F15", + "challenge": "2ACF", + "response": "0F88", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "2", + "share": "D1288CF943F0F2", + "proof": { + "pad": "8DE70CE77D6FEA46", + "data": "CC259A5D9FCB7020", + "challenge": "CDCD", + "response": "A0EC", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "3", + "share": "7A99275514FC8B44", + "proof": { + "pad": "6B39548EBF420B4F", + "data": "42216DEDCA7D7746", + "challenge": "4780", + "response": "98BC", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "4", + "share": "025931879FE81EBA", + "proof": { + "pad": "CA84E6680AC9BB20", + "data": "4DD20D2427277B61", + "challenge": "E3D5", + "response": "F462", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "5", + "share": "B5F590C927A8EDD5", + "proof": { + "pad": "20A840487D73947A", + "data": "0628241E2E5E9DFE", + "challenge": "896D", + "response": "1193", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "write-in-selection": { + "object_id": "write-in-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "74FBC1E3F2818B64", + "data": "B6C6A5F08300195C" + }, + "shares": [ + { + "object_id": "write-in-selection", + "guardian_id": "1", + "share": "7FE55696D40A4781", + "proof": { + "pad": "F2284766014AF736", + "data": "CB3E55EFBD12AAF3", + "challenge": "BFB2", + "response": "1BB9", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "2", + "share": "5A39EC66D29F8C2F", + "proof": { + "pad": "B97F0CD5D338AF74", + "data": "B52C70ADC5EEBD67", + "challenge": "DFFB", + "response": "E75E", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "3", + "share": "2D72C6BA65DBF739", + "proof": { + "pad": "9C24868D12EAF32C", + "data": "6C5D1783865CC48F", + "challenge": "3579", + "response": "7D1E", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "4", + "share": "17B4498EA6E6B52C", + "proof": { + "pad": "B0AC15EEFC225126", + "data": "62F4B990169371BE", + "challenge": "D71F", + "response": "CEA0", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "5", + "share": "A2314642DB8EFFC2", + "proof": { + "pad": "E8B211403A012552", + "data": "95B6E3AC305A6A71", + "challenge": "9759", + "response": "CE6E", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + } + } + }, + "referendum-pineapple": { + "object_id": "referendum-pineapple", + "selections": { + "referendum-pineapple-affirmative-selection": { + "object_id": "referendum-pineapple-affirmative-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "6E513FDB8A47FE3B", + "data": "80224911FCFBB6CF" + }, + "shares": [ + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "1", + "share": "D8199BD35B30CE39", + "proof": { + "pad": "EE0CC538761BBFFF", + "data": "DA816C75D2E49412", + "challenge": "D676", + "response": "7899", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "2", + "share": "541A1BB65627CF0B", + "proof": { + "pad": "692BF1C246017DF8", + "data": "2EB01F9A4D07462F", + "challenge": "78CC", + "response": "0952", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "3", + "share": "EA6AF56EEC372FC8", + "proof": { + "pad": "F4296C6110AF5375", + "data": "EF048FB28CCBE0EE", + "challenge": "98B5", + "response": "61D3", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "4", + "share": "E68A21AAA289B39E", + "proof": { + "pad": "C05F49953D10FB9D", + "data": "2EB111EA0BDCF77C", + "challenge": "7A50", + "response": "B9C0", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "5", + "share": "130F118DF40830D0", + "proof": { + "pad": "65CDF4DF6DC0F0CD", + "data": "64128156F0B96145", + "challenge": "3D40", + "response": "0BBC", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "referendum-pineapple-negative-selection": { + "object_id": "referendum-pineapple-negative-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "3AC209CBAB1C6C4D", + "data": "5223A78DA86CF74B" + }, + "shares": [ + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "1", + "share": "CF5B28F8742F6F0F", + "proof": { + "pad": "A1BF38DC17C8C768", + "data": "F095E90CCB531D0B", + "challenge": "E739", + "response": "39CC", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "2", + "share": "B0DED2CD77554050", + "proof": { + "pad": "DBDEA1693ACC0AD6", + "data": "E3A691ADC2BACA71", + "challenge": "C028", + "response": "4434", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "3", + "share": "969E1614F872D23A", + "proof": { + "pad": "CEA33DCC91E4153A", + "data": "44DF5B552605DB86", + "challenge": "C169", + "response": "0C94", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "4", + "share": "258565EBDC02AF73", + "proof": { + "pad": "C1FD305E96527B3A", + "data": "37BAF4F0C853B255", + "challenge": "856E", + "response": "A944", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "5", + "share": "3125B5A5592697D7", + "proof": { + "pad": "D329039AA3DF7331", + "data": "AC6C153359C4A70C", + "challenge": "FA61", + "response": "A67B", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + } + } + }, + "official-bagel-style": { + "object_id": "official-bagel-style", + "selections": { + "new-york-style-selection": { + "object_id": "new-york-style-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "3F1B69E4DD0E3D09", + "data": "23797E5CD6AC4A2C" + }, + "shares": [ + { + "object_id": "new-york-style-selection", + "guardian_id": "1", + "share": "79CBA22429C723B1", + "proof": { + "pad": "05B07448110DAB29", + "data": "5C797A79A06A26A8", + "challenge": "B331", + "response": "3712", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "2", + "share": "5FA77718109CCA95", + "proof": { + "pad": "3AF640D21DEE400E", + "data": "E01E2300641C5D2C", + "challenge": "6299", + "response": "DE45", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "3", + "share": "5CFF65D1B8DA0173", + "proof": { + "pad": "D34A6259D49AABEE", + "data": "29A0A41F5CDC7ACC", + "challenge": "4217", + "response": "CA18", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "4", + "share": "B1BC85072A6DBF4D", + "proof": { + "pad": "7F2E538C5A5E70C2", + "data": "EA74FDDE8607C728", + "challenge": "60B5", + "response": "BEAD", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "5", + "share": "E73CC11A7BCB36CD", + "proof": { + "pad": "3A5F75FCB0EAE34E", + "data": "203975F9299056B9", + "challenge": "EAB0", + "response": "FDB5", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "montreal-style-selection": { + "object_id": "montreal-style-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "036FBB2D02F8416E", + "data": "468BE9643CD9C09B" + }, + "shares": [ + { + "object_id": "montreal-style-selection", + "guardian_id": "1", + "share": "FE4E97463BBABD10", + "proof": { + "pad": "E906CBA0E358B5E1", + "data": "75BB7199AFE1E460", + "challenge": "5A38", + "response": "D058", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "2", + "share": "F62EEADB45C5CE7E", + "proof": { + "pad": "4517A5928343ADC2", + "data": "F782F68D0F332A3A", + "challenge": "C48C", + "response": "06ED", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "3", + "share": "2155100B94FAE895", + "proof": { + "pad": "CB48C7B29085B272", + "data": "BCB7F7006EF1EAAB", + "challenge": "A136", + "response": "B35D", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "4", + "share": "34C525A4D4CE3651", + "proof": { + "pad": "9A2C450BB46735F2", + "data": "986A79C6E0003519", + "challenge": "AC4B", + "response": "61E6", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "5", + "share": "54B7B068D8872F0B", + "proof": { + "pad": "97752220A864F4EA", + "data": "020D707F62E4BE7B", + "challenge": "0AC5", + "response": "5A29", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "st-louis-style-selection": { + "object_id": "st-louis-style-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "78413E93E323515A", + "data": "75EE9839E08B9EE0" + }, + "shares": [ + { + "object_id": "st-louis-style-selection", + "guardian_id": "1", + "share": "B0410C1677C10E38", + "proof": { + "pad": "DD9172F201372D3F", + "data": "E7C2A61F1DF356E1", + "challenge": "8207", + "response": "E196", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "2", + "share": "33F4756F7946C91B", + "proof": { + "pad": "BF7E2E2C6FB7D382", + "data": "2CE900354FD35238", + "challenge": "08C8", + "response": "6186", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "3", + "share": "330114CFA6C775E8", + "proof": { + "pad": "055B67A8C11C1C42", + "data": "9BAAFE5A6AA565E8", + "challenge": "CA34", + "response": "54C1", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "4", + "share": "1868A5112F6B7B0D", + "proof": { + "pad": "3822D9C3F9CA4C82", + "data": "409D75B98CB102F0", + "challenge": "71E4", + "response": "D203", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "5", + "share": "AE26165B5EE72A97", + "proof": { + "pad": "B5D4A9BEE11B458F", + "data": "7FB43FAA14ABD608", + "challenge": "47CC", + "response": "7FC5", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "write-in-style-selection": { + "object_id": "write-in-style-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "BE03167878A6251C", + "data": "889F22658C881B3B" + }, + "shares": [ + { + "object_id": "write-in-style-selection", + "guardian_id": "1", + "share": "BD3F9867E40A2645", + "proof": { + "pad": "E5ECEE4533360EE2", + "data": "90B36730379096F1", + "challenge": "7083", + "response": "A6A6", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "2", + "share": "67A3FDE62C60ECC2", + "proof": { + "pad": "BAF83FED6ACFBF95", + "data": "2430CA34F69878A9", + "challenge": "8577", + "response": "DA93", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "3", + "share": "EB3B99AB7520471B", + "proof": { + "pad": "1F82E6EAC58B851A", + "data": "A32327A635E04F2F", + "challenge": "48D9", + "response": "381C", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "4", + "share": "F0B11FCE2C0421C3", + "proof": { + "pad": "EF4CD02AA47E4588", + "data": "D75520AF08A28EC8", + "challenge": "D88A", + "response": "84B6", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "5", + "share": "C2BAA526CAF924CD", + "proof": { + "pad": "B0BBF7855C3DB50D", + "data": "7D69B0CEC13D0137", + "challenge": "131D", + "response": "A6B4", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_9fee0e77-cfd2-401a-a210-93bbc4dd30ef.json b/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_9fee0e77-cfd2-401a-a210-93bbc4dd30ef.json new file mode 100644 index 00000000..44e68638 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/spoiled_ballots/spoiled_ballot_9fee0e77-cfd2-401a-a210-93bbc4dd30ef.json @@ -0,0 +1,780 @@ +{ + "object_id": "9fee0e77-cfd2-401a-a210-93bbc4dd30ef", + "contests": { + "justice-supreme-court": { + "object_id": "justice-supreme-court", + "selections": { + "john-adams-selection": { + "object_id": "john-adams-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "982BAB92DCC3A16A", + "data": "897BE2D5D8FA85AB" + }, + "shares": [ + { + "object_id": "john-adams-selection", + "guardian_id": "1", + "share": "E766096EAC1AA25D", + "proof": { + "pad": "7DCD9A22C15EF0CB", + "data": "6F9195496B81D89C", + "challenge": "3536", + "response": "0A9C", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "2", + "share": "DE7E4710EE9A6184", + "proof": { + "pad": "2483B3434E61C315", + "data": "0EB206E57C357C89", + "challenge": "A582", + "response": "3D86", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "3", + "share": "B60B6B5E4B6ED3F2", + "proof": { + "pad": "A461868B1F16AA3D", + "data": "9398CFD280A5484A", + "challenge": "52D2", + "response": "6FAF", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "4", + "share": "1468AF5E0A689CBC", + "proof": { + "pad": "99F749BD7EAD79D2", + "data": "A7788106552D3C3C", + "challenge": "A836", + "response": "18F5", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "5", + "share": "27ADA3FB8B7DE9F7", + "proof": { + "pad": "BA422D0557933381", + "data": "76C21916038E4A7C", + "challenge": "66CA", + "response": "DAB5", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "benjamin-franklin-selection": { + "object_id": "benjamin-franklin-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "1FA3B4B890A3D3DE", + "data": "AA9C74D6DED6F0D0" + }, + "shares": [ + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "1", + "share": "71EC4D6594C671DC", + "proof": { + "pad": "E8B2A444CE99BAB5", + "data": "899D61AC771E7345", + "challenge": "E93C", + "response": "30CE", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "2", + "share": "FDB5AF59EEA28909", + "proof": { + "pad": "345504340E90E391", + "data": "A33D7561AA496E22", + "challenge": "3201", + "response": "5B3C", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "3", + "share": "F23F411CC495CD8A", + "proof": { + "pad": "6BF0A51E50ECE177", + "data": "FEA0089C9EA6197D", + "challenge": "444A", + "response": "4D56", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "4", + "share": "95581A3E1CBA1BC7", + "proof": { + "pad": "9707C673DDA581D7", + "data": "96CB1A2B0DA74C95", + "challenge": "FE42", + "response": "0C42", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "5", + "share": "A4BF7C7283D38F7A", + "proof": { + "pad": "6427839847248663", + "data": "F568FDF96BF5CD1D", + "challenge": "B9D5", + "response": "CB30", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "john-hancock-selection": { + "object_id": "john-hancock-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "26E7885714F569CF", + "data": "A634C8E3193DB423" + }, + "shares": [ + { + "object_id": "john-hancock-selection", + "guardian_id": "1", + "share": "E417B615B23668BC", + "proof": { + "pad": "2DF028D9D4AA7C20", + "data": "D4CBCE88E0CBB8BD", + "challenge": "F108", + "response": "D752", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "2", + "share": "94A580DD84956420", + "proof": { + "pad": "62241B772F7638EA", + "data": "06D5D47D194D4368", + "challenge": "547A", + "response": "4F4D", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "3", + "share": "FAF175C354AA2A69", + "proof": { + "pad": "C1983342A9ADA572", + "data": "F84439914FF368A5", + "challenge": "EE", + "response": "E645", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "4", + "share": "10AE137A01A357AB", + "proof": { + "pad": "D75CE020943FB348", + "data": "FBEE025769158AD7", + "challenge": "6E64", + "response": "2E81", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "5", + "share": "1968CCEB439F4425", + "proof": { + "pad": "1CEE6E8BE320906F", + "data": "19E272FE110413BD", + "challenge": "3912", + "response": "187B", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "write-in-selection": { + "object_id": "write-in-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "12952DCF5ED0B95D", + "data": "1E92A396C8DA13F9" + }, + "shares": [ + { + "object_id": "write-in-selection", + "guardian_id": "1", + "share": "5F7151D046B943CB", + "proof": { + "pad": "708CFB65E3D4C516", + "data": "A62C7C94FA0F51D8", + "challenge": "6AAB", + "response": "78F0", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "2", + "share": "A25B9942A2E6D360", + "proof": { + "pad": "E11BFBF8E07B2D56", + "data": "4A4042C57D1D5A69", + "challenge": "C9BD", + "response": "229E", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "3", + "share": "8EFEE76463F8D30E", + "proof": { + "pad": "790173103CA110EE", + "data": "D64DDEC8376907D4", + "challenge": "2F5E", + "response": "EBF8", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "4", + "share": "30AAF9EC0559E7DE", + "proof": { + "pad": "42310D70142546F9", + "data": "5164AC5617D19D4E", + "challenge": "FE3D", + "response": "E607", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "5", + "share": "EC5FD0F878058AD2", + "proof": { + "pad": "3948FDC39F134AC8", + "data": "A9A45E4644E747D0", + "challenge": "811B", + "response": "B16C", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + } + } + }, + "referendum-pineapple": { + "object_id": "referendum-pineapple", + "selections": { + "referendum-pineapple-affirmative-selection": { + "object_id": "referendum-pineapple-affirmative-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "D4414CB48729F4AC", + "data": "26C0745282C808ED" + }, + "shares": [ + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "1", + "share": "BF0E00B26CAEB3C3", + "proof": { + "pad": "3AC209CBAB1C6C4D", + "data": "025E24371B1ABB2B", + "challenge": "83D3", + "response": "5FCF", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "2", + "share": "782E6AB80F371778", + "proof": { + "pad": "B9DF3BD24CC65065", + "data": "C47409963446668F", + "challenge": "3C4E", + "response": "F75D", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "3", + "share": "4591BB7565C22A0C", + "proof": { + "pad": "C1177A4043355C71", + "data": "239345794F91CC67", + "challenge": "561B", + "response": "6A1B", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "4", + "share": "70929F51E7306393", + "proof": { + "pad": "FE36931F3D9DE4CB", + "data": "BA65DCE10C93A73B", + "challenge": "35F1", + "response": "DB38", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "5", + "share": "150073A48B5C29C6", + "proof": { + "pad": "B3454F7CD7B25A02", + "data": "E741F6DAB1ADBB8D", + "challenge": "A7A0", + "response": "13AC", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "referendum-pineapple-negative-selection": { + "object_id": "referendum-pineapple-negative-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "2097FE68F84B57E1", + "data": "F3B5B9EBD0C5E084" + }, + "shares": [ + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "1", + "share": "28153D3F1483A37F", + "proof": { + "pad": "41D9F87E63AD623C", + "data": "1D818B34F1A7F058", + "challenge": "CB4C", + "response": "7D5C", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "2", + "share": "09962C71A69B9CCA", + "proof": { + "pad": "365EFD44E95F88B4", + "data": "FEF2AF05156ECBEA", + "challenge": "3C64", + "response": "A2E0", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "3", + "share": "44F75ACC1AB1BC35", + "proof": { + "pad": "EC0D3C4C9BABB14A", + "data": "3B6ACBFD76AD5668", + "challenge": "CBF3", + "response": "1862", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "4", + "share": "7E91A0AE8058C25D", + "proof": { + "pad": "D90AFBC2A3A4DD37", + "data": "0D0163C7612DD0BE", + "challenge": "D059", + "response": "CB2B", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "5", + "share": "705BA79EC73D42AB", + "proof": { + "pad": "769DC119F05E4C95", + "data": "FD67EB8EEFD9D49D", + "challenge": "BE77", + "response": "467D", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + } + } + }, + "official-bagel-style": { + "object_id": "official-bagel-style", + "selections": { + "new-york-style-selection": { + "object_id": "new-york-style-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "D0D1F050042855CE", + "data": "E0013F860584FE6F" + }, + "shares": [ + { + "object_id": "new-york-style-selection", + "guardian_id": "1", + "share": "4E1A802F75F86A33", + "proof": { + "pad": "14BCA72CA3D59A44", + "data": "0E76DB15B0F7EF68", + "challenge": "77A8", + "response": "F0A7", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "2", + "share": "122CDC5E351EF1A2", + "proof": { + "pad": "CE0825256FD9F836", + "data": "C93C3B11F2C05B", + "challenge": "ECD0", + "response": "E0EE", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "3", + "share": "B6BCB80BD76FFA9A", + "proof": { + "pad": "1B100D29F758424B", + "data": "2C59639CA99625EA", + "challenge": "E661", + "response": "09A5", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "4", + "share": "6AC78C46A88D5000", + "proof": { + "pad": "566BC95412CDE76B", + "data": "BB8120F30FC973F7", + "challenge": "153E", + "response": "8E28", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "5", + "share": "5BD45C2C49E647C4", + "proof": { + "pad": "2588DC8605F5034F", + "data": "D729EFFC17FB9561", + "challenge": "3641", + "response": "210E", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "montreal-style-selection": { + "object_id": "montreal-style-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "0B64DF3C1CF39F4A", + "data": "7FB66D68CDF248F7" + }, + "shares": [ + { + "object_id": "montreal-style-selection", + "guardian_id": "1", + "share": "D6D124F670210B6A", + "proof": { + "pad": "B9BF1585A366AFEC", + "data": "D9930968A0919116", + "challenge": "7A95", + "response": "643B", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "2", + "share": "E47216CD69A9C7AE", + "proof": { + "pad": "D0BF608C44A3F027", + "data": "73C5629BE584F816", + "challenge": "41A6", + "response": "9858", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "3", + "share": "7C839FF970F13D93", + "proof": { + "pad": "9CD95DF9892CA0DA", + "data": "5A4A3FD6A916A445", + "challenge": "7C54", + "response": "3FBA", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "4", + "share": "7A71983E8971C958", + "proof": { + "pad": "77C4DF8AB84D237D", + "data": "C00A30FFA77EE309", + "challenge": "A7F9", + "response": "344C", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "5", + "share": "E75C4D6454ED0CB1", + "proof": { + "pad": "BAB6513973CE1329", + "data": "5211604D025BD68D", + "challenge": "853F", + "response": "547E", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "st-louis-style-selection": { + "object_id": "st-louis-style-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "058B47EA2EC03159", + "data": "B38818334504A1" + }, + "shares": [ + { + "object_id": "st-louis-style-selection", + "guardian_id": "1", + "share": "D3EE8783110C0C13", + "proof": { + "pad": "7133F292D78C826E", + "data": "11B66387B8B193D8", + "challenge": "179C", + "response": "1474", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "2", + "share": "CC467B20B4497586", + "proof": { + "pad": "FB08C8692BD716CC", + "data": "FDDD2ECF4D6C81E1", + "challenge": "B2CC", + "response": "99A6", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "3", + "share": "118BC01EB6D0D946", + "proof": { + "pad": "65D9A4D6483D925D", + "data": "F19A1095343BE7E9", + "challenge": "84BB", + "response": "53E1", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "4", + "share": "C45B147B6F73C037", + "proof": { + "pad": "891581CD787B4E69", + "data": "B0240D3223963585", + "challenge": "EBAF", + "response": "828A", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "5", + "share": "46ABFC319708A1B0", + "proof": { + "pad": "CF10274285F221B8", + "data": "1531D184C605E692", + "challenge": "24D9", + "response": "BC26", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "write-in-style-selection": { + "object_id": "write-in-style-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "645BB4E46EE41CAF", + "data": "3BBA15646BF76DFC" + }, + "shares": [ + { + "object_id": "write-in-style-selection", + "guardian_id": "1", + "share": "439A4DD467C704D3", + "proof": { + "pad": "F9E8D78304118675", + "data": "82CAC0A99EAB0CA1", + "challenge": "5D45", + "response": "7539", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "2", + "share": "BB65DDFC114A9356", + "proof": { + "pad": "B648B8818C1538AB", + "data": "130F2529BA0EDB68", + "challenge": "1C55", + "response": "32C5", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "3", + "share": "2D4B336D79A4E219", + "proof": { + "pad": "1DE5DE0371A110B4", + "data": "43381013DF6B83F3", + "challenge": "4EE6", + "response": "93D8", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "4", + "share": "944D7599A92A5A4C", + "proof": { + "pad": "B736A9F1EBD82C2D", + "data": "1E155FF7989422BF", + "challenge": "8BE3", + "response": "B607", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "5", + "share": "329469EE70D54445", + "proof": { + "pad": "ABE34190C5E10C87", + "data": "62BB63C658765A8C", + "challenge": "F541", + "response": "8629", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_03a29d15-667c-4ac8-afd7-549f19b8e4eb.json b/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_03a29d15-667c-4ac8-afd7-549f19b8e4eb.json new file mode 100644 index 00000000..038df10e --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_03a29d15-667c-4ac8-afd7-549f19b8e4eb.json @@ -0,0 +1,179 @@ +{ + "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": null, + "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": null, + "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": null, + "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": null, + "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": null, + "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": null, + "state": 1 +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_1048ce32-f1b1-4b05-b7fb-8c615ac842ee.json b/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_1048ce32-f1b1-4b05-b7fb-8c615ac842ee.json new file mode 100644 index 00000000..ad5e8896 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_1048ce32-f1b1-4b05-b7fb-8c615ac842ee.json @@ -0,0 +1,179 @@ +{ + "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": null, + "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": null, + "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": null, + "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": null, + "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": null, + "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": null, + "state": 1 +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_25a7111b-4334-425a-87c1-f7a49f42b3a2.json b/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_25a7111b-4334-425a-87c1-f7a49f42b3a2.json new file mode 100644 index 00000000..c21e21dc --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_25a7111b-4334-425a-87c1-f7a49f42b3a2.json @@ -0,0 +1,179 @@ +{ + "object_id": "25a7111b-4334-425a-87c1-f7a49f42b3a2", + "style_id": "jefferson-county-ballot-style", + "manifest_hash": "6A75", + "code_seed": "5418", + "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": "1A9500462A8D7F79", + "data": "1DF98132B7F4E9D6" + }, + "crypto_hash": "C855", + "nonce": null, + "proof": { + "commitments": [ + "5197CE57B12CAFAB", + "4C613EB4DA7AABC8", + "9EBED2534EBC19E4", + "5C73B8A33090DA72" + ], + "challenges": [ + "A346", + "A15C", + "44B1" + ], + "responses": [ + "1904", + "28FF" + ], + "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": "D69A737168017939", + "data": "F0D68DAF372D6BAB" + }, + "crypto_hash": "AA19", + "nonce": null, + "proof": { + "commitments": [ + "4DB6926EB5BEC47C", + "43EB066BDCB960C1", + "9BC073C186380543", + "2A690352CAB96B75" + ], + "challenges": [ + "D83A", + "BCC1", + "950A" + ], + "responses": [ + "710B", + "15EB" + ], + "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": "471717E5E5D00D01", + "data": "2FB0ACD6FD9C9579" + }, + "crypto_hash": "C8B4", + "nonce": null, + "proof": { + "commitments": [ + "4ACB700A11B65DAE", + "28D3A86130E6C22F", + "CE885A2F13FCADC3", + "CFD2791BF4B97109" + ], + "challenges": [ + "A830", + "6292", + "0AD1" + ], + "responses": [ + "75CD", + "4016" + ], + "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": "2654D83F7A2C276D", + "data": "962E88A421C1B6EC" + }, + "crypto_hash": "191A", + "nonce": null, + "proof": { + "commitments": [ + "35410DF01B5A88CB", + "63C7C0CD57AB728A", + "89CE188AA4FC13F2", + "CAE3DDE8800AB865" + ], + "challenges": [ + "AC86", + "4206", + "EE8C" + ], + "responses": [ + "3A81", + "35A2" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + } + ], + "ciphertext_accumulation": { + "pad": "E05A155828E85231", + "data": "1FEC79D42B4EBB09" + }, + "crypto_hash": "0D80", + "contest_limit": 2, + "nonce": null, + "proof": { + "commitments": [ + "9DF1E45B081EFAEF", + "CF39E4287409030C", + "7F15520182FA7B6C", + "DEF370702E0EE550", + "EAE8F1358CCB1CF8", + "9BC43BF67C2006BA" + ], + "challenges": [ + "8A63", + "D4D9", + "A3ED", + "0347" + ], + "responses": [ + "65F3", + "B0A7", + "5476" + ], + "limit": 2, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "79088301C2059AC4", + "data": "BFE383D964F93AE18C6E2E8F22B5F3EF9D9E4B46E140DB23A0E531B7CC8FCFB9494B729A39122CB3DF829DE29227BA25BE11570D0D2EAE10270E931CA8150E70DC49617605289DEBB82693F102AFBE66BEE84E8E0C2B0BEFD401F9FB37633ECEBFB7A7410C61F94136E9FCE2885C89DF06FCBBB3076F64E792BC4B53FFCA0744423BFCE17954FBE3720FFBF0C61F1E290F5448458364E05E60C8D6C073489B2E9CFC337C7CC7EE400E86E3A33B22F2FB0F432A17E09DC28EF7309767BCC7F3760190EF4D23E02BA9F55398494C73E5A4FC6600D62C78547F87E95C8279316B2717664FAD9284E031E9C69A36DD8A742A3782D4C91551812BF128C00DD9300336176D825062D28BA06FEC49E5C8E78A8E2B0927FDC81121A799F61C8E5E4B22E0567F343872980EA0951E0245FB8F658D973B4A1C42ACAFED130A79FD9CA9A8245F7EB530CDC8C5214E866BE86E0CF7993AE6D12E7279CCD8949085153A3585D292CD1DD658518EFA5DD5D906771AA329E882022C5A3EE6A355CBF8B07E1125EA8F1460A362498741BF051F93D3CBB0249E1BF16B808318E70A67CFFC0A338EA30F4A0AE0A82A6EF920451D4F4E3697B73083A0436D173EFC5D35D69FAAE1FBF6E4389E0FBBB097F31ABC6A11F4AA5654915E638751E221929D44E18342D9EB05BAA9198062FFACDF80F050C4AFA995CDCC2A7CFC94C67CE08C73D0DF333894A1", + "mac": "1D897121FEDF678F098D9F9C92AA1A1EE1119DC36EE1E663C5F03DB8FC03950C" + } + } + ], + "code": "3F87", + "timestamp": 1660841182, + "crypto_hash": "0302", + "nonce": null, + "state": 1 +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_5a150c74-a2cb-47f6-b575-165ba8a4ce53.json b/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_5a150c74-a2cb-47f6-b575-165ba8a4ce53.json new file mode 100644 index 00000000..4fcc7182 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_5a150c74-a2cb-47f6-b575-165ba8a4ce53.json @@ -0,0 +1,481 @@ +{ + "object_id": "5a150c74-a2cb-47f6-b575-165ba8a4ce53", + "style_id": "harrison-township-ballot-style", + "manifest_hash": "6A75", + "code_seed": "5ACA", + "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": "70E943AF3CA26B4A", + "data": "082DE6EE55213CA4" + }, + "crypto_hash": "689A", + "nonce": null, + "proof": { + "commitments": [ + "3A6A58662EF31364", + "4880CB326A6E5AA4", + "80C7F0DE944D105E", + "5ED809F8CAD07407" + ], + "challenges": [ + "9428", + "464A", + "DA72" + ], + "responses": [ + "6543", + "EA3D" + ], + "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": "F34685AB1F4B6370", + "data": "459BC04611CD2371" + }, + "crypto_hash": "EB50", + "nonce": null, + "proof": { + "commitments": [ + "AEE400254B835B12", + "ECF40734591FD023", + "E83DABCB848F89B9", + "673E550F88C8C0F7" + ], + "challenges": [ + "32BA", + "414D", + "7407" + ], + "responses": [ + "51D7", + "CA85" + ], + "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": "075B794E74321640", + "data": "D562401575F77956" + }, + "crypto_hash": "B5D4", + "nonce": null, + "proof": { + "commitments": [ + "BD3F9867E40A2645", + "65F212A4E5CF3DF3", + "28BCEB76CB17F566", + "AB3A43AE9BC794CF" + ], + "challenges": [ + "6F90", + "479B", + "B72B" + ], + "responses": [ + "CA3F", + "1716" + ], + "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": "48F38F96EAB98A4A", + "data": "7A4F4F3540E89674" + }, + "crypto_hash": "EA20", + "nonce": null, + "proof": { + "commitments": [ + "61D2E409CDE11A88", + "2FFE3B7038F77B94", + "54229984F50047FD", + "F85D784EDB970BCD" + ], + "challenges": [ + "B615", + "8C1A", + "423E" + ], + "responses": [ + "3900", + "578D" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + } + ], + "ciphertext_accumulation": { + "pad": "9E8C4B2333654805", + "data": "BBBDE76D9B9E4AA2" + }, + "crypto_hash": "7C22", + "contest_limit": 2, + "nonce": null, + "proof": { + "commitments": [ + "9812962B7BD067D7", + "E7A65AEDD12E4783", + "17ECBF61F492F0ED", + "89AF181EBA595BEE", + "B68A88DB09E5E153", + "925485F8ACAC85D9" + ], + "challenges": [ + "2F34", + "155B", + "C28E", + "072C" + ], + "responses": [ + "F0CD", + "88E1", + "5C3E" + ], + "limit": 2, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "8D4C87350E2D06E0", + "data": "BFD3B9A2A56BF9FE7040C20640F702DF021DB96BFE2CE92784514AEEDF096A0A04244DAAF0E1FECD18C2311342A591688FA9AF22AA8E2F2EF7B4F3714BE8F889B712CA5250F54A4EB7D0B3B4E9F3DD811422A3F77B2653690AE8455674F74F7DAB7EA39FAE579E42933C286DECED83BFA71CAA66EFCB79D49D8E25CC90824CACC2E30F8F7789AAC8AC8B3319409E3B01BF891D4FB1D67FBCC4B004F31581C0947157F2518D292DA9491CC2037A6DB83D9721D352F9E6E4051AE89DE1BE174B4E0FC2BBBF58DD99C052172C15801E40F5B6C9B64A6102759C02797BA03DAF6AA3971A7B097A33E6486E815BA934BA718B7A6162F6275369E759B035EB4D4C5D5FD1DA64D2B79FBB139734569CB972374D4C87659B1E2F63590439A3E287D9B05A134CC042AC17F89301B6539AA228F479539F59BD3550ADF37B9FFCA8FDC1C97B246D2A038CE69DC7D3D2521969E625D03129D83F8F821B438CC34E0666CA26BCAFACB220F5349E25A8B49E965A9BF152EACB39D1B4BD72B85A01FAB930C23259A0D367CD894A3F06D75BA26CEA3B8E0F4D4F08F20A6FA8AF3530D328D0C8492509708AA5A6D896EB952FAACEF4313D78B47A0B9960F69D1EA6F492D79F194DEBFC8E5CA637CD3BA4569D8C429043D48B2DDBAB862065A9F9D2C1FAA71A3C4641A9980EFC595A901A0A9CCF1B9ECAC76D152823C135A8F2CC69E97F40E8DFFA37", + "mac": "162993B5405ACCA394DC71F3E74727A3711672006FA3FFD442C5D7685C6BDBBF" + } + }, + { + "object_id": "referendum-pineapple", + "sequence_order": 2, + "description_hash": "FC79", + "ballot_selections": [ + { + "object_id": "referendum-pineapple-affirmative-selection", + "sequence_order": 1, + "description_hash": "B676", + "ciphertext": { + "pad": "948B5934E5D86F5B", + "data": "BA5C85D8546D79E8" + }, + "crypto_hash": "1C20", + "nonce": null, + "proof": { + "commitments": [ + "0C5AE792C6349760", + "117F2C9922A6B6B4", + "7CB19ECCC2C78EE9", + "0E91945593C317C6" + ], + "challenges": [ + "A133", + "60D0", + "0212" + ], + "responses": [ + "B1C6", + "AE18" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + }, + { + "object_id": "referendum-pineapple-negative-selection", + "sequence_order": 2, + "description_hash": "ADE5", + "ciphertext": { + "pad": "96F587657DB15203", + "data": "E24D92C22889FF09" + }, + "crypto_hash": "7351", + "nonce": null, + "proof": { + "commitments": [ + "16FD86CE77EDC8E9", + "C6CC36889188917C", + "71200DE5D7887DC3", + "05399F4EDAE0BB9E" + ], + "challenges": [ + "7D05", + "482A", + "C52F" + ], + "responses": [ + "0CA8", + "90CB" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + } + ], + "ciphertext_accumulation": { + "pad": "419F82EF33CB3C90", + "data": "54964F9686F9C15C" + }, + "crypto_hash": "745B", + "contest_limit": 1, + "nonce": null, + "proof": { + "commitments": [ + "ABC714A78AFE429B", + "877F5B3B841E178F", + "B1C28C0ECFE5B92A", + "397972A0ECE39540" + ], + "challenges": [ + "CB3F", + "DDC6", + "A914" + ], + "responses": [ + "6100", + "1FCA" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "168BCD90391D36CC", + "data": "3080A2AF8F2DF6988F30E669AFE69E795BE82F309CEDB4F5165DC61C82E6F9B49EEA6D8CD268DC5E00A8942AC4A1DE7F65EC955DED00AF3A1991C1F904A642023BCF5C51E5245D61EA6ED59B22C769A5FC01E51640ADB28EDA22196A035369E129B7007BBC0950183179C893C5DC35CB7BDF3C62E02D9DEE4B0A46F3BBE98525E95BFDBB919CEB46A4340C343AC17E4471523718C85271259A90A51BB350CA95AEACF41180D8610B50A2C3EB7B9043B4F0DC918AE2A67C2087713C958CEE1537F4014A5D107DF01F09B9D5FFA9109670AEDF85E371C668E59A58B5A55F096B0E481332B98D69D8AEB26193890CEAF719D63B977B7D75419BD5E2756767D67B73EC5B44BF2E1248AE66576650B31133B202E5DD69EA7983DC45CBC7CDD8DF7FC862E0E9A4642CFFEB5CDDD91340C87C7C337CA101DB1D5059CCDAC8E2AE92ED8E33E24D06D8667070EEF841692A3B73E581CCB306F35990BB39382A5FCDCB34F24E818A28F9AED3F3415B95F8AE3A6F98C0C459B17C24183EFB078B2932D23BB765AF501FC963B6D64986DD8665281FCCB762D0D8A1DF183D4B58BADA0AE63AF3786FC64D620C5D6A5DCE09FCC0A75F1706C8CB83753C7DF6447C73447C73DC3E54AB415B282E3F47198BCEE51BD10DB76AAD0C8E69B6EB6711BE9FAFDB8B18DFB97DA33FA134EE2A586073A1B97FF6966C2D77517EE4B1173582D6F20FB7F10B", + "mac": "CEC55965226402BA2017C118074970632000CA354D16D54371E1BBB9B055BC06" + } + }, + { + "object_id": "official-bagel-style", + "sequence_order": 3, + "description_hash": "DE8C", + "ballot_selections": [ + { + "object_id": "new-york-style-selection", + "sequence_order": 1, + "description_hash": "F382", + "ciphertext": { + "pad": "BE675E3C46202596", + "data": "4719BAF22792C8FA" + }, + "crypto_hash": "23FD", + "nonce": null, + "proof": { + "commitments": [ + "4FB6D1CC8BF86D2C", + "656255DBDB8F2961", + "373B211B79F3A679", + "3699C5EFDC6D902D", + "C1E04B09E9FADAFF", + "467649F9AF3185BE", + "BDF9F54E191D8DAE", + "B71DD7D9FFCD769C" + ], + "challenges": [ + "0631", + "1886", + "5522", + "CD53", + "413B" + ], + "responses": [ + "6EE2", + "DDD1", + "9BB4", + "B0BA" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "montreal-style-selection", + "sequence_order": 2, + "description_hash": "5D9A", + "ciphertext": { + "pad": "B6BF141B3DC634D8", + "data": "188965F0A3D27523" + }, + "crypto_hash": "ECCF", + "nonce": null, + "proof": { + "commitments": [ + "1B59F170D95A6BBD", + "C377B856E110E8C7", + "E1ECDC0548ADF2C8", + "B9B59A1ACF2C5F42", + "F54566DA8CCB8F71", + "52E015B660C95BD3", + "D14897C85E6C763B", + "23E6AD6169EFDCA3" + ], + "challenges": [ + "2AD1", + "7B6D", + "40E6", + "84BE", + "6BF1" + ], + "responses": [ + "B6CF", + "AE90", + "5F3C", + "8FE2" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "st-louis-style-selection", + "sequence_order": 3, + "description_hash": "05ED", + "ciphertext": { + "pad": "432679540266623B", + "data": "12B623ED7839BFCC" + }, + "crypto_hash": "D6AF", + "nonce": null, + "proof": { + "commitments": [ + "A30F3FDF8560C484", + "C0A3CD22307FAE25", + "64B77D1820B1DC0E", + "D0C56FC0F29CB527", + "7ED914D8029F9FA3", + "FE31E47C83D98187", + "EF792BE92DD4D2BE", + "5ACB3AAA07CAAFF4" + ], + "challenges": [ + "5CD1", + "3289", + "9FDC", + "4D27", + "7C6C" + ], + "responses": [ + "BB2C", + "548B", + "4256", + "DE4A" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "write-in-style-selection", + "sequence_order": 4, + "description_hash": "E9BF", + "ciphertext": { + "pad": "2A8E08F17726AE77", + "data": "8DD6076433970553" + }, + "crypto_hash": "2029", + "nonce": null, + "proof": { + "commitments": [ + "A5D1557A73448BF2", + "6DD0C412569D13F3", + "C619040A521C2829", + "05EDD3F8F959F11F", + "49D32DF392B882E1", + "61730F193BF8A91E", + "0EEE55AC7E59D45D", + "72E6AA187359B2D3" + ], + "challenges": [ + "8851", + "3910", + "D934", + "3870", + "D314" + ], + "responses": [ + "2BE0", + "EB80", + "5CB8", + "3C4B" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + } + ], + "ciphertext_accumulation": { + "pad": "77D99F1E8EA1E92B", + "data": "ACA6B76FB7726764" + }, + "crypto_hash": "7244", + "contest_limit": 3, + "nonce": null, + "proof": { + "commitments": [ + "DAF60E7192CEFBBB", + "174069155FC69747", + "A600685BC919317E", + "9D0B81FEF02EC4A4", + "216F61F5528710CB", + "59581F74AE9A0A64", + "0604A2A50DC3DD9C", + "0C8FB80A83E20A51" + ], + "challenges": [ + "9ECE", + "4AB5", + "D4D2", + "BF57", + "7DCA" + ], + "responses": [ + "1686", + "7CEF", + "4442", + "F38A" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "51C557DCFD078CC7", + "data": "08718E9CD94082F2F7F5FF81ADF1D665E39AF28677109EB0E575D214E78FA2916BC815E6185A9C1F4ABA4344393092675DAA35FF929A154639AF3194B69838A5A228D64540D65DFC53F8144DB506DF310F4FD2CE42DBC805814073FD40C532BA6C86392E1B218F1E5F24AFC7D1FC248375287A400E8B95548A645CD4A5A421A5A32CB831336B92F31AD4C3C5E0B00B87D8904F332B57F174AF9AD1BEFB38DB6FFBD0104268AC504FBF1C63927A42BC9E61CE8FD9CBAC1FF658A301522AFA69D2AC27065573FFAA25A3AF73F34ADE93ADA19A0EC870EB6E215FD3BA76431A1AE2D2FDD1050C731753929BDC1AFDB36AA4610515169D07FB5E1CBFF8A986B66CD94C331F23BCD827BF4EB3697E48CBFF40BA5DBBD2754EF5E69CF101E7868AB9E2AEB316984A7EDAB591C76E2D00FA0639C565DF0CF9ABF236601EB49BB3B7FFFA2E674A109CF1EAC0420855F089C49306071E9C4644FE077768D29BFFA5867C1E1BD08991E2D87BD58644B3AD229281F02A0393CCBEB778DBE636D459F6D8A41B0698F10993116EC45DBD4245256ED9E840555D95DD4D2CD987555C781670FD3F8A8E997E832882D71C548C84BA65CC45B8D7ED12C7DCC723157FEF17DE8F84FD84A361D194709EFCC5BD793D5E3879DD1526614E57802832F255B8433DE8548F63EF0711386597F2510D65CF8C849E2F87B52587304247CB029231FC5697533A", + "mac": "5F0C9FC7CA65B817A46CF09C960E7C45D21B6BF0BF86D4922168D440D6E9AC32" + } + } + ], + "code": "9786", + "timestamp": 1660841183, + "crypto_hash": "91A9", + "nonce": null, + "state": 1 +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58.json b/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58.json new file mode 100644 index 00000000..ec6e194e --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58.json @@ -0,0 +1,481 @@ +{ + "object_id": "69aeacb4-64c6-4205-9bb2-5fb6b3b3ea58", + "style_id": "harrison-township-ballot-style", + "manifest_hash": "6A75", + "code_seed": "3F87", + "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": "7A54021027A6C306", + "data": "362FF8E5C2ECBD17" + }, + "crypto_hash": "2442", + "nonce": null, + "proof": { + "commitments": [ + "FC6819991BB3F886", + "CAE42BF6CE0711C3", + "2F64A3AC66669A64", + "C4375A3FAB94B15A" + ], + "challenges": [ + "70C0", + "2AE3", + "9BA3" + ], + "responses": [ + "7806", + "A608" + ], + "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": "10870EACE0C15267", + "data": "8E64BE4E4A5E2C2E" + }, + "crypto_hash": "C870", + "nonce": null, + "proof": { + "commitments": [ + "CC2A72A234233D87", + "FD38CF8B82126927", + "E8E87D0874F056D3", + "D21B63C49C2C6A23" + ], + "challenges": [ + "5E80", + "F516", + "53A5" + ], + "responses": [ + "D303", + "3389" + ], + "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": "0C3E1125A28595E7", + "data": "68EE54426D887CEF" + }, + "crypto_hash": "0903", + "nonce": null, + "proof": { + "commitments": [ + "97141E21470DD9D1", + "9AF34ED9022E4FFF", + "A3BB4512D17C1214", + "496DEF44606C74AF" + ], + "challenges": [ + "0143", + "5985", + "5AC8" + ], + "responses": [ + "8FB1", + "8E" + ], + "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": "74FBC1E3F2818B64", + "data": "B6C6A5F08300195C" + }, + "crypto_hash": "51A7", + "nonce": null, + "proof": { + "commitments": [ + "4E8E7CA270553AB0", + "4AA0B15CC078123C", + "EBB5F834ED89CEE4", + "BE42C48F535F6E20" + ], + "challenges": [ + "876D", + "91D8", + "1954" + ], + "responses": [ + "C97F", + "7B88" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + } + ], + "ciphertext_accumulation": { + "pad": "B6FF42DE1A206FE9", + "data": "D0BF608C44A3F027" + }, + "crypto_hash": "B1FA", + "contest_limit": 2, + "nonce": null, + "proof": { + "commitments": [ + "B23869FDF45A4CB0", + "FFBA886C957A8ECA", + "A969A9EF93238558", + "C47409963446668F", + "4986C19AC84EF05A", + "69CC4F2E39477B4F" + ], + "challenges": [ + "784E", + "DF3D", + "8FDC", + "E776" + ], + "responses": [ + "3C10", + "F557", + "0CDF" + ], + "limit": 2, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "6886276609A13161", + "data": "FF4D9DDAC2883BD3FD5B734FC06B676F89D25989DD84E792AEC98B6460EB9524D8FA1BFF9774A50FAEEB10F345FF1BFA7E3010ACFCBDDA5798F6EBDD577A1797F9AAA11524E880BD381AF554A69F330E97A28469B1685AE42B84DCDDE106DB95DDC231A0A90AC32F4E713306974933118211555BD951E83D2194E2C81C82ADDE01AB8CC0A26C7B4B666607CF108C47884D7F915889AF7B44A9D05C4D590D2B1A787558AF492DCE82F305967A94198BDE201E4CA6D6ADE2F90FCD10385C1C7B5B9E416799AE06DB0D6CD0125DFB1467E121FEFA579AF6E1F5EE113D04E1F582B6AD5F218FE96F02CBF055975010C7D1AFC22097212C0348F2644DE159BED9C50141A92C6AA3E13557DDFFD9545F91CB7A234DA7DF23F917BAC5A510658B7E0876BAB40B6163299B9AA32B97E409D97B1570BFAAC783A6008D4EAB6C30C97A146FCF7F780204B9D6E42993696F280385B27FACBB2C165C8185AF11E63E6969E6E8D9E9B4442D08423601A7097496D5D22061D7344F2FC6BF59E070D7AD03D0944291DDC9A5640CDA9E94F5E02458104E249EDD2C866E0954F6FBAC3A1B6B7D13182AE654B15ADAB0E82E9EE0829C238EA675BC8DE6E478A0ECF24D128C4D7B343504D11B40D87519EDF31BF6839B93EE23F23A6E8A93C1D91EB54AEAFC00126E933CA6BF64C8AF2D4E331951E37CF8C28CAE0ECD49E617E4A9913A26A26BB0B999", + "mac": "015B52B76E249D7143F4C57061617A36DBD9CBD23B9993A6FCAE4C369ADFAA48" + } + }, + { + "object_id": "referendum-pineapple", + "sequence_order": 2, + "description_hash": "FC79", + "ballot_selections": [ + { + "object_id": "referendum-pineapple-affirmative-selection", + "sequence_order": 1, + "description_hash": "B676", + "ciphertext": { + "pad": "6E513FDB8A47FE3B", + "data": "80224911FCFBB6CF" + }, + "crypto_hash": "DFF2", + "nonce": null, + "proof": { + "commitments": [ + "BD1FEF9262EFBE8A", + "029B2EBE77672A88", + "E3521C29EA148AEF", + "774A078813B45129" + ], + "challenges": [ + "850D", + "4FBB", + "D4C8" + ], + "responses": [ + "736B", + "1295" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + }, + { + "object_id": "referendum-pineapple-negative-selection", + "sequence_order": 2, + "description_hash": "ADE5", + "ciphertext": { + "pad": "3AC209CBAB1C6C4D", + "data": "5223A78DA86CF74B" + }, + "crypto_hash": "D749", + "nonce": null, + "proof": { + "commitments": [ + "5C6BAE5320D504B1", + "0B15716885D7462A", + "F8A3A52F7CF4AFFC", + "527F5FB0D2FFD843" + ], + "challenges": [ + "34EA", + "1F2D", + "5417" + ], + "responses": [ + "9826", + "B5E9" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + } + ], + "ciphertext_accumulation": { + "pad": "F8EDD893DEF2A667", + "data": "892D0C1B9D511908" + }, + "crypto_hash": "0211", + "contest_limit": 1, + "nonce": null, + "proof": { + "commitments": [ + "C6E1129FD3B37DEA", + "83F8D009F27FD8FB", + "C0E5129B0DE204B6", + "80A1F8399D0D8EF9" + ], + "challenges": [ + "EEBC", + "BF73", + "AE3E" + ], + "responses": [ + "AECD", + "D97D" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "3227EFDA3240BAFE", + "data": "464F1FBB4926262D48E3BA54989B637678FAA17E0D3954182903AF46BB26082CACC0884B56D38E65B25BC10359016DFBF20170F4409EEB8C8533CF5E621494452233EBDE3491504648ADF6C5FA1AA50F94262BE2635906BBD2A89AE6CB68DABB033E2DEA1F1920FDB6E84721449420CE7EA2921F66C0E33F01F3B3708EFE5F12E72A44A918EC549389612F72DB6C4C89966BE8BA5D75E60EAF2B19B4680BAE732F14E48F8251FC316B709582DDEA2810E467E97F3B992618A42C9242426B4D42CC8482A35AC84AEF2571243D0ABDFEE77933842586A5C0BA9D284CEDDD527D17C12C1614CC335C67744C8509D73F016043842AC9B6A5EF3C703129C044BE14FA5201B90A1EB1B8FC6A2071988AC5DE09A4E46CC8319127200D89C8C0C6FBE71F643855BAA4AD410FB17F3EA3F154057A81984D5ECCCAA1A23AF89F84FB1D2B6E11649AE5C8C8BEB09B909BED0B58353E5FD2E5B36D602C4CD1204087CC1C0C49A060CC0848FC1E9B1F5CB0F8DDD6EA51C5F480A9986F1D1A6B8C64C3DE9FCE442DAEE1AF4691754EF1E6E14CD98FEECBFA3FCC2FCEB772A23CA73B3339FD2842F20BADB935E0D1CEB8BDA2C5A018EBB400112272342168CAE7576C494DC66584A22873EDB2E81F1378CB79B369C79B0D32E94E318FFDB3B654DBBD7B976690DD77DEB32BF4DE8FEC87025C3A9C432224BA526781F16BBFFF19F133FCB8BF8D7D", + "mac": "937A3224EDFD32892F04220DC0DAEF81B72004E69ECFCF8D770D67AA260DB3B0" + } + }, + { + "object_id": "official-bagel-style", + "sequence_order": 3, + "description_hash": "DE8C", + "ballot_selections": [ + { + "object_id": "new-york-style-selection", + "sequence_order": 1, + "description_hash": "F382", + "ciphertext": { + "pad": "3F1B69E4DD0E3D09", + "data": "23797E5CD6AC4A2C" + }, + "crypto_hash": "3C51", + "nonce": null, + "proof": { + "commitments": [ + "909B877B92FC5F98", + "4F5034783FB94239", + "2C0E4AE7CDE0A814", + "C87E1F744D8C8772", + "D5F1D3441865B0E4", + "AE59472B870EB343", + "74F1BE16C527C8C1", + "F54566DA8CCB8F71" + ], + "challenges": [ + "6D1D", + "8856", + "37E7", + "9E70", + "CBD9" + ], + "responses": [ + "66F8", + "CDD9", + "6CB3", + "05B2" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "montreal-style-selection", + "sequence_order": 2, + "description_hash": "5D9A", + "ciphertext": { + "pad": "036FBB2D02F8416E", + "data": "468BE9643CD9C09B" + }, + "crypto_hash": "F15A", + "nonce": null, + "proof": { + "commitments": [ + "FD0CED825C5EB44F", + "088BE41AECE87B5F", + "4E4A2F8D9228A7F9", + "B911BA8BC27E31D7", + "EA6D140D39E5F218", + "5B97D0FF0C913CE9", + "8AC58F55CA695D9B", + "32A2C317559688BF" + ], + "challenges": [ + "CF00", + "45AA", + "1EFA", + "CE2C", + "01EE" + ], + "responses": [ + "655C", + "8CA0", + "30E7", + "99A3" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "st-louis-style-selection", + "sequence_order": 3, + "description_hash": "05ED", + "ciphertext": { + "pad": "78413E93E323515A", + "data": "75EE9839E08B9EE0" + }, + "crypto_hash": "D141", + "nonce": null, + "proof": { + "commitments": [ + "2031CC2747292D0E", + "D6D90FCA02EB3A38", + "585694191C0F1C2D", + "DC0BF777BEA7F49C", + "A996666ED5CD8848", + "7829CFA31AEA9C3A", + "60AA47262699549A", + "2D9E01F709EEE2A9" + ], + "challenges": [ + "A89F", + "D1D5", + "88BE", + "EC02", + "EF52" + ], + "responses": [ + "82B1", + "BCEA", + "0CF5", + "EB86" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "write-in-style-selection", + "sequence_order": 4, + "description_hash": "E9BF", + "ciphertext": { + "pad": "BE03167878A6251C", + "data": "889F22658C881B3B" + }, + "crypto_hash": "DFCF", + "nonce": null, + "proof": { + "commitments": [ + "079535ED9E8C067D", + "29134C9D2406BA64", + "17EC90AC34697461", + "E4B8E4FA23AED10A", + "5363232B444F7CBD", + "D4767AFDD7C597A8", + "F54FCA1B6514AD66", + "E23295F26E2D00F5" + ], + "challenges": [ + "E657", + "4A7F", + "08A0", + "B7A0", + "F125" + ], + "responses": [ + "CCC5", + "05E8", + "6D93", + "83B5" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + } + ], + "ciphertext_accumulation": { + "pad": "7EE032F3A205B6CF", + "data": "E9D5455C26D0E7C1" + }, + "crypto_hash": "B0E8", + "contest_limit": 3, + "nonce": null, + "proof": { + "commitments": [ + "1702525A0B5F99FF", + "C01731B69827D693", + "E007384630D678EA", + "AE1111AF819436DD", + "11CDB64DA6419119", + "BCBB2F092A397376", + "8A96E6947DA9094E", + "81BB957E2D3AE394" + ], + "challenges": [ + "0647", + "07DE", + "6B50", + "0E8F", + "8804" + ], + "responses": [ + "C710", + "5664", + "9375", + "0C38" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "686D8BD3831A0E05", + "data": "FC3C32E7F1399F648B346DE4DD4FD1F338A39D89E02B2FE31026B31737D55C88AB7F018A66B01B0D076C61BDE41F7AF9D6BEC61A046A1C8E8062CFF70E5ACFBB1AB34F0A5951B9A3685A24675DEEC2F7BCDCA451C4BFB85FCE58AE8B8F0D274CA3975E7CB16F14977FC03B5A487EE14366444BB666667268691C5B0C67509DBA604029CB6FBFDA716D8D75FB06986B26230CA83D41A73F38A66AABCBFBA93BC215BE858BAC0B33FE4B26000D7FAE560CBB7B0F7C9CC8D841003D46315E56CA8FA6BFEC041A8C583F7449712A0EF9070C9169234AF8C897C7844AD0B8B242AFB90033EF74854854373D5C37E9FED0A26EE3926D535F9FCC2D859AD7BDAB7D44F20EABDE7E3D6F64797C0D0FE0B76C653E94671DC0F0D640E80BCF6F985966EBB187D06DAD7F34C1B51C88D1775976C88F23B440F462D0EA76EC7D1E3641193AA78711FF257C08ADBBAABCB8FA1EEB12658A9B0A65BA7E41C926F77149612A87D3147F020B754D18292E1C8E313CF8BBA80E6FC7D2788B62E49AEE1BD5C02B889EA919A912F39CD99F98434C00131211B51AECCEA146D640A18D6FDF3B05DA66C474B3103D100F1DD199DA117DF07F91678507A871531CDBA1F0C54A6A8829155523666C3B45BABBC6805DB3F0CC33735C9D36B1023A276E66FB399A7454C7F44B2C9501ADF481D369D4CB303B618341DCC6A21D0A9853AC421D907B21DB3B35D4", + "mac": "AB368DC81115595826B9AA9009D42784413BF3DDB5D1C917BC6FC7B0FE0E9DEB" + } + } + ], + "code": "5ACA", + "timestamp": 1660841183, + "crypto_hash": "044F", + "nonce": null, + "state": 2 +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_9fee0e77-cfd2-401a-a210-93bbc4dd30ef.json b/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_9fee0e77-cfd2-401a-a210-93bbc4dd30ef.json new file mode 100644 index 00000000..411dd33f --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/submitted_ballots/submitted_ballot_9fee0e77-cfd2-401a-a210-93bbc4dd30ef.json @@ -0,0 +1,481 @@ +{ + "object_id": "9fee0e77-cfd2-401a-a210-93bbc4dd30ef", + "style_id": "harrison-township-ballot-style", + "manifest_hash": "6A75", + "code_seed": "9786", + "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": "982BAB92DCC3A16A", + "data": "897BE2D5D8FA85AB" + }, + "crypto_hash": "4B9D", + "nonce": null, + "proof": { + "commitments": [ + "BB33758B24C226C3", + "969E1614F872D23A", + "50A5311D9DEA9B33", + "1BE1410796317C2D" + ], + "challenges": [ + "F5D8", + "B2B6", + "A89D" + ], + "responses": [ + "15D5", + "1471" + ], + "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": "1FA3B4B890A3D3DE", + "data": "AA9C74D6DED6F0D0" + }, + "crypto_hash": "B947", + "nonce": null, + "proof": { + "commitments": [ + "D2321C8C47EB54A0", + "7D1CDCDC2091284E", + "A7DF7C1CE6CE3216", + "30A9DBDBCB6CDDD0" + ], + "challenges": [ + "166C", + "7E41", + "94AD" + ], + "responses": [ + "0E13", + "35D4" + ], + "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": "26E7885714F569CF", + "data": "A634C8E3193DB423" + }, + "crypto_hash": "429B", + "nonce": null, + "proof": { + "commitments": [ + "71FED42DE606BE18", + "54AC2F9ECE52F810", + "8EFF9C723A6081EF", + "D1C1ACB597669CAC" + ], + "challenges": [ + "AD6C", + "1D22", + "CA8E" + ], + "responses": [ + "8C55", + "7820" + ], + "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": "12952DCF5ED0B95D", + "data": "1E92A396C8DA13F9" + }, + "crypto_hash": "95C4", + "nonce": null, + "proof": { + "commitments": [ + "A6CF88270A36C1B0", + "5840764FBDC9BAB9", + "5A76137EE7416E98", + "014B9FE184B71C11" + ], + "challenges": [ + "86C4", + "866F", + "0D42" + ], + "responses": [ + "BF78", + "BA32" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + } + ], + "ciphertext_accumulation": { + "pad": "0A836FE51BC2F5FE", + "data": "F7773D4EBED6F83A" + }, + "crypto_hash": "723F", + "contest_limit": 2, + "nonce": null, + "proof": { + "commitments": [ + "0EBCE2CA20EA643B", + "E51F059C58C622B1", + "E0E793CFB961F9BB", + "FCA788880ECD4F82", + "45E0922AE2E11408", + "34A7FDC4417A8513" + ], + "challenges": [ + "8EC7", + "A9C8", + "04D7", + "3D75" + ], + "responses": [ + "366A", + "6880", + "E0DD" + ], + "limit": 2, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "ECC333EF77A8B69F", + "data": "59E948179FE8F0ACA67AD5FD8B4F98C71F16A85C865F6FF48C70949962BC009279B6C6A90B39685972ABA4A2C3E7557BCF414172027BBCC7A3980D35F0080E899197151D277398F2E99533A46A8B2DA63352313EF4FB1596271259BF40CE25387B3EAEC1ED1CF2B1BC329C0012188AAC06B2B75FBB571C34D7CFF0E8809D79D36BA4B8BC350C3DAE24C2F83A2DE51CEDDA21B47BC98EFB6EC3B6751662A6E89306FFC58A0C055696B76B16A78B21DEE82C024F211F8D5E8B46FC4B3A005ED20A099F5DC226E84303959C5F9438E1AA43ED0E8A0EB11CCF5E6E05157AAFAAD445224FE39D836350D974A96BD5AB945AE99825E6ABDA41D7A7A5E3A2F32A44E2DAA6CBBBC82C446B592B4AC2C680881D4F703187C8D657D7CEE966B598C5B4313CDB16F57C6BABCB9583EE158471894E90C8971E70F8CFADE0B6791A9E2B8E379E1247EBF9F7C6B05D8458EF707053EF44EC55622BD674D4E9F50381C617D398E78A4E0356208D5E41A168999DF54F864624A1F99C1E780266F07927AE5762BA19061E59C7DB857108C49E20D6228AAD29DB514C9BB0710919348DC401FFFEED8D5C07B58A8F1D4C63C6287DB75707F2896CEFB20EC303A1B159A0D55D02BB1B557B552E156A518E02350ED2B4B6D4E23666B9EF72B3248DAC0244784CD661BBEBC62406F6E503B42795C53B18A6DE5FCEFDCA1019731CB427EFA821D30D52A086", + "mac": "52EC3F0C0B1513A42379291608E856F9DFC64F986BA9863520663B0096671646" + } + }, + { + "object_id": "referendum-pineapple", + "sequence_order": 2, + "description_hash": "FC79", + "ballot_selections": [ + { + "object_id": "referendum-pineapple-affirmative-selection", + "sequence_order": 1, + "description_hash": "B676", + "ciphertext": { + "pad": "D4414CB48729F4AC", + "data": "26C0745282C808ED" + }, + "crypto_hash": "ECC3", + "nonce": null, + "proof": { + "commitments": [ + "FF82436545792B9C", + "E2EFA2657884158A", + "C2838EA16E48E0FF", + "CCD7793028A39823" + ], + "challenges": [ + "5F94", + "72B3", + "D247" + ], + "responses": [ + "3056", + "2578" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + }, + { + "object_id": "referendum-pineapple-negative-selection", + "sequence_order": 2, + "description_hash": "ADE5", + "ciphertext": { + "pad": "2097FE68F84B57E1", + "data": "F3B5B9EBD0C5E084" + }, + "crypto_hash": "37C4", + "nonce": null, + "proof": { + "commitments": [ + "B062056EB69F3A81", + "41438B3E4D546EE8", + "7E320A40854D7D40", + "803AABDE9913F64D" + ], + "challenges": [ + "9AF8", + "6B70", + "0677" + ], + "responses": [ + "8C67", + "F3B0" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 1 + } + ], + "ciphertext_accumulation": { + "pad": "82533CE497BD2A8B", + "data": "36752C6A5F118BDC" + }, + "crypto_hash": "31B6", + "contest_limit": 1, + "nonce": null, + "proof": { + "commitments": [ + "622E37677555BF53", + "B1FFC610A56BA460", + "F6687BC77137CF10", + "0A688A489C49BED8" + ], + "challenges": [ + "D261", + "E199", + "B409" + ], + "responses": [ + "8C79", + "E669" + ], + "limit": 1, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "9AEB9F7A07230F86", + "data": "17D98AF9FC0A3397D0DAFC1D6FA01AE17945607A6407D200BDF7BDC1DEB9362789A079DCE95A41A6BB48DFB2EC10D46F0C1099D4D0F5EE1D46AFDCE37B66613DDF06A185F8D425961B6AE585B7A4EF15C7540872ED4D03D045803A172AF334500F58280E2930F46EC7AB6D14C789029523DE049448CB1823F6016010A901E3609B9F7987A1A3138934CA7A9E3473549F12C93E05E774765417222D1E5B0B89637F7FBCBCE75CCDA18F62A42CD6AC9431875228A524135035B18AC41DB9B0A13A59A3A2279455A7AE508A25A5CF51C044E8DEF0D1022F2BD52B0D69556EE781269BDC7843C3580CD9E1B1F98E0C3C59A407AAC72D76C4ABD45958B114BF7A35DA6A7404586004DC4B69AE3EC1D943B4A7A4381834156B4D7EF51A30FCEC50FBF6C99E37DFCB3B3394B6C3F7EAA99907DCD1CD91CD816A983EF61CC3A40F81282CC2B8A61297B0868DCCC2B1CCECA26878CD7B810DD180E486B078D5B4DB4522EEF42179F5BADC3E830A0F67B1699253073406FC50497B72B8101F68A6AE4BF49CD05FBAC88014E92C57FB5A642CF735307D40B248750444B7FF2114E11299AC140AC56A5FC66302B6CAA577AB72D91B31A6656FDB34BA661250F1EA163B52E85C2EE1F40718557C0CDBC93D61DE52EED3958EB78D26140530B0C5FCEC186162895D7C8132BDEE91AA6B434A977548E015FD89EE6395292557E24BAA94323D14DA", + "mac": "CAD05FC2CBDA1890D4AA2F0BAB8C3D85C37BF6A83220C76A714186082F8EEF7F" + } + }, + { + "object_id": "official-bagel-style", + "sequence_order": 3, + "description_hash": "DE8C", + "ballot_selections": [ + { + "object_id": "new-york-style-selection", + "sequence_order": 1, + "description_hash": "F382", + "ciphertext": { + "pad": "D0D1F050042855CE", + "data": "E0013F860584FE6F" + }, + "crypto_hash": "613B", + "nonce": null, + "proof": { + "commitments": [ + "25FDAA1E95FA57AF", + "4989894A1C4B7967", + "60377CD9FDDD5D16", + "B1E298895826B679", + "2F4FE1706B03F4DA", + "F29AC52272FFA74B", + "345317475676F26B", + "B087E507EE2BA97C" + ], + "challenges": [ + "89A3", + "5DF1", + "E93B", + "68BA", + "39A7" + ], + "responses": [ + "2DAC", + "C487", + "90FC", + "3479" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "montreal-style-selection", + "sequence_order": 2, + "description_hash": "5D9A", + "ciphertext": { + "pad": "0B64DF3C1CF39F4A", + "data": "7FB66D68CDF248F7" + }, + "crypto_hash": "647C", + "nonce": null, + "proof": { + "commitments": [ + "BDF5550944DCC812", + "3723E051B6262294", + "AE153DE104FDB56F", + "13508969F0BA7274", + "F5B666B258346B0E", + "EE84C3F64CF21823", + "A4AF494258BB7674", + "89297CE099040C00" + ], + "challenges": [ + "2D03", + "6DE3", + "38DF", + "19E6", + "EDAB" + ], + "responses": [ + "63E3", + "CF4A", + "B158", + "A2B2" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "st-louis-style-selection", + "sequence_order": 3, + "description_hash": "05ED", + "ciphertext": { + "pad": "058B47EA2EC03159", + "data": "B38818334504A1" + }, + "crypto_hash": "06D0", + "nonce": null, + "proof": { + "commitments": [ + "7624FA02EB11FFB6", + "3CEBEADC393CFD90", + "D91389E04D109882", + "261087BBF2490196", + "D5BD5F1C83D99781", + "6D0219A28F5CE051", + "87771DA1E743F5B8", + "97EA137369581958" + ], + "challenges": [ + "BFBB", + "017A", + "12DB", + "5322", + "2741" + ], + "responses": [ + "C77F", + "3F18", + "2939", + "9AF8" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + }, + { + "object_id": "write-in-style-selection", + "sequence_order": 4, + "description_hash": "E9BF", + "ciphertext": { + "pad": "645BB4E46EE41CAF", + "data": "3BBA15646BF76DFC" + }, + "crypto_hash": "9387", + "nonce": null, + "proof": { + "commitments": [ + "0A0B9A648F9C595C", + "23D39292E19D6E8B", + "B308954EBD7C9E77", + "AC3876E1833D1C96", + "264E901ADD447151", + "050BF4C6FA9A8279", + "E3CC19052D0532A8", + "C958EF5E556EF882" + ], + "challenges": [ + "CDCF", + "0696", + "4E0E", + "9D42", + "BFC4" + ], + "responses": [ + "E613", + "0A1D", + "6767", + "AADB" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "selection_limit": 3 + } + ], + "ciphertext_accumulation": { + "pad": "CE242880645A52BE", + "data": "8D4082AE2A58C8B8" + }, + "crypto_hash": "2D36", + "contest_limit": 3, + "nonce": null, + "proof": { + "commitments": [ + "DE6028BB16BB17E3", + "F0E7EDF1E0D3AC71", + "407A595F6E199BA1", + "E232C0D867E0B92D", + "651E3AB12342A433", + "433D97B9F4721356", + "E982185495D425", + "3497D284DA96BA57" + ], + "challenges": [ + "661C", + "17D3", + "5BEE", + "4A8F", + "247B" + ], + "responses": [ + "1BEC", + "F245", + "C29A", + "4A54" + ], + "limit": 3, + "usage": "Prove value is within a given range (0, 1, ..., or limit)" + }, + "extended_data": { + "pad": "56D16253F12472EA", + "data": "771EF88FE5E439AE3851FD2111E0A543AF31119BB2E1E639203065ED41EA28700C7407DA3FA5D76608B3D6A6B8F917D3B874432173C8A552BDC037A08FD127ADBCDBA2AE2B6AA864ADBE742FEA8C714E192620485E2FB4E35F17D7C8910B9D3A164302EE668492D4A7FC0B28B0FF471FE9744180406BF3F4775E7546713BD93BE511062BCAF1506D6FA945B0CD57158E79FA3C86BB10D60477DCB240B6919512E49A71CE4D10E69D903BF980DA0A65ADA6FE7AB732D342609F1ED5D809D1E08932D27D0BC536DBBA080ED6D713646D32A7521F16EF6ABC2C1ECDEA56B8782D50FB8788BC928193138649E65863C9E20746A6409BE3FF7FA021A1B5DD7598C269309240D543BCB22D9B7F86AE9212880CD4B16423D3952D21987BEB8193646AB8206A03917469046E8B8C2C8E07DD6AEF3E9CA74CC4C60B2166C03A3DB40A8382E1A90A9CC9D9D603D0C508E738E04944E6EDB4187E3FC9967572B40E97295D5322B1FAB40175F2F40D12A60D64F540996CDC9EA0FD25575C0F74A344FCFBFF39B962F35C600DBFFFAE35C9923451E75CC656BB02064A05E35179EB1FA613CB045239444FC8272BDF75FD8D8C87A2242985E20A636FB1E1590A013481CED075041BEBC2DBBA0894389E22154578F0B0783DCCF55C5AEB4141C7742B9E701F4D607964CF0AC480A7E55005C382B7C83B8B7DC51B3B866D4AAF62AEA949ADEFA5AE", + "mac": "DCDFCFB40DFC58459CBE1AD2EF8B05903D701FBF707F4904A31AF34321AEF31D" + } + } + ], + "code": "F445", + "timestamp": 1660841184, + "crypto_hash": "9A92", + "nonce": null, + "state": 2 +} \ No newline at end of file diff --git a/data/range-proofs/sample/jefferson-primary/election_record/tally.json b/data/range-proofs/sample/jefferson-primary/election_record/tally.json new file mode 100644 index 00000000..e88b24b9 --- /dev/null +++ b/data/range-proofs/sample/jefferson-primary/election_record/tally.json @@ -0,0 +1,780 @@ +{ + "object_id": "election-results", + "contests": { + "justice-supreme-court": { + "object_id": "justice-supreme-court", + "selections": { + "john-adams-selection": { + "object_id": "john-adams-selection", + "tally": 4, + "value": "826BCA6DDDBE0E1E", + "message": { + "pad": "3465224BB1D0CBCA", + "data": "5F4F2B5C053514A3" + }, + "shares": [ + { + "object_id": "john-adams-selection", + "guardian_id": "1", + "share": "628888853E071001", + "proof": { + "pad": "D254E19457D57D5C", + "data": "B5857CD2BB7A0BEA", + "challenge": "7E37", + "response": "6CCD", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "2", + "share": "EEA17E415DE27E02", + "proof": { + "pad": "29ABE1D839F1B72E", + "data": "89A606B47AEDE321", + "challenge": "B3FB", + "response": "7EF6", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "3", + "share": "1E4AD541661C8DBC", + "proof": { + "pad": "8A0D90244B00E23A", + "data": "C17A9B2197B104DF", + "challenge": "2993", + "response": "DDFA", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "4", + "share": "B49AC64702CD8472", + "proof": { + "pad": "969999D1DE4EA0D3", + "data": "B6AB748DCCAC0FD6", + "challenge": "3D5F", + "response": "2E77", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-adams-selection", + "guardian_id": "5", + "share": "0BE94881BD8A119C", + "proof": { + "pad": "20F583607AB86834", + "data": "4E0171804A885E35", + "challenge": "BA40", + "response": "160B", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "benjamin-franklin-selection": { + "object_id": "benjamin-franklin-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "4CA376F85BD31CEC", + "data": "E17A2AD774413AFC" + }, + "shares": [ + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "1", + "share": "1EA3741E3B7A3131", + "proof": { + "pad": "8423AEEA0DF67324", + "data": "25A5E3DC35664F8C", + "challenge": "E7E5", + "response": "0705", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "2", + "share": "7990349AD6E1EBA2", + "proof": { + "pad": "D11E473541D2019B", + "data": "E62EEACA34D5F4E4", + "challenge": "F119", + "response": "B94B", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "3", + "share": "716166E448AF4189", + "proof": { + "pad": "561F74857CF5D1EE", + "data": "271DA46E70A320E4", + "challenge": "B4A5", + "response": "C68D", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "4", + "share": "113B4C1ED7BDD65E", + "proof": { + "pad": "5A4B0C8A1CF594A6", + "data": "A8D083C8C0A43A84", + "challenge": "557B", + "response": "28A8", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "benjamin-franklin-selection", + "guardian_id": "5", + "share": "A34BD28D42950F8C", + "proof": { + "pad": "FB52BCA882F00C7D", + "data": "86D3EF61FAA6AF5C", + "challenge": "FBE5", + "response": "F1E3", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "john-hancock-selection": { + "object_id": "john-hancock-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "639DC02360FC0CED", + "data": "02DDF49D4C09E98F" + }, + "shares": [ + { + "object_id": "john-hancock-selection", + "guardian_id": "1", + "share": "B6D3803FE6F63C18", + "proof": { + "pad": "F45B96D76E428774", + "data": "DFEB88F3A3D32503", + "challenge": "5441", + "response": "CBC3", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "2", + "share": "26AE0E0C4D542CFC", + "proof": { + "pad": "123DADDF0044FBE3", + "data": "FCF6BFCBAA442091", + "challenge": "621F", + "response": "8641", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "3", + "share": "58A5876CEC214E41", + "proof": { + "pad": "1D00AF7D0632E2F5", + "data": "6321386E851A0DD1", + "challenge": "FF76", + "response": "3EF6", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "4", + "share": "2DD17EBF0DA9F3A0", + "proof": { + "pad": "6604FF9F1657A74D", + "data": "AD5077E8FC9A818B", + "challenge": "FD2D", + "response": "69B3", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "john-hancock-selection", + "guardian_id": "5", + "share": "3564DFE6AB997F79", + "proof": { + "pad": "A56DC4D1A6522522", + "data": "401BD8ACFB25D39D", + "challenge": "AD8E", + "response": "2611", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "write-in-selection": { + "object_id": "write-in-selection", + "tally": 2, + "value": "A147CA31DE0F48C1", + "message": { + "pad": "A729992A607D353F", + "data": "FB2D37CD98BDA85B" + }, + "shares": [ + { + "object_id": "write-in-selection", + "guardian_id": "1", + "share": "1CEE442C18DB3613", + "proof": { + "pad": "E5CCF8FC5098FE2B", + "data": "9FBBB5EAC968FE12", + "challenge": "17B9", + "response": "150E", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "2", + "share": "5F51B83B51D6B872", + "proof": { + "pad": "6DED0E84ABA19A43", + "data": "72642FE1A53C5D87", + "challenge": "1C42", + "response": "DD25", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "3", + "share": "040F98EA14FB9291", + "proof": { + "pad": "D815CC4DF2715790", + "data": "F9CB0E489362BD90", + "challenge": "2E61", + "response": "B678", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "4", + "share": "6503B741EA00EB08", + "proof": { + "pad": "E982E21CD6BBBAE6", + "data": "4E5809BB5F3B0705", + "challenge": "C108", + "response": "4E42", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-selection", + "guardian_id": "5", + "share": "8E5374B33FBF8547", + "proof": { + "pad": "0669F833B7FFB7C4", + "data": "CCC66D468409BBF2", + "challenge": "D746", + "response": "F121", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + } + } + }, + "referendum-pineapple": { + "object_id": "referendum-pineapple", + "selections": { + "referendum-pineapple-affirmative-selection": { + "object_id": "referendum-pineapple-affirmative-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "948B5934E5D86F5B", + "data": "BA5C85D8546D79E8" + }, + "shares": [ + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "1", + "share": "3A1E507F4D02E06B", + "proof": { + "pad": "F058BF60E3C5E9C8", + "data": "1453BD5F3B972C92", + "challenge": "342F", + "response": "CC4B", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "2", + "share": "DFE9621C5DF9E182", + "proof": { + "pad": "CA9478926B89A4BC", + "data": "9ED0081C423EA0C6", + "challenge": "C487", + "response": "A56E", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "3", + "share": "99DF1791EA98AD47", + "proof": { + "pad": "478252B6D837F91D", + "data": "2639F797E01BD110", + "challenge": "2ADF", + "response": "F2BA", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "4", + "share": "28E001A4DAE93B23", + "proof": { + "pad": "0C539C57E4B66173", + "data": "529D600AB2C5601A", + "challenge": "9E5B", + "response": "80FE", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-affirmative-selection", + "guardian_id": "5", + "share": "4044CB3D300EED5B", + "proof": { + "pad": "BF1F5E9230DB8702", + "data": "7B648F450F096051", + "challenge": "67E5", + "response": "CF1F", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "referendum-pineapple-negative-selection": { + "object_id": "referendum-pineapple-negative-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "96F587657DB15203", + "data": "E24D92C22889FF09" + }, + "shares": [ + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "1", + "share": "747B6F539BF9C808", + "proof": { + "pad": "53737D40A4D943F1", + "data": "7BC7B486B0DF46ED", + "challenge": "F844", + "response": "6428", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "2", + "share": "1DE14D6BCCF8D731", + "proof": { + "pad": "5D8527E80424AB7C", + "data": "501FA45F964DF174", + "challenge": "9C8D", + "response": "507F", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "3", + "share": "7BF19A9B9898AEDD", + "proof": { + "pad": "41A878FBD93603A5", + "data": "01282BD5E86E8BE8", + "challenge": "A732", + "response": "1133", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "4", + "share": "9099CFF6DAC59419", + "proof": { + "pad": "A2EF8D96D9C9B344", + "data": "1F22A02F71EA8361", + "challenge": "60E7", + "response": "0873", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "referendum-pineapple-negative-selection", + "guardian_id": "5", + "share": "60059F1BD3AC38F7", + "proof": { + "pad": "2EDCEA8F9B64F52F", + "data": "8B620973E2535B01", + "challenge": "399B", + "response": "F2CD", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + } + } + }, + "official-bagel-style": { + "object_id": "official-bagel-style", + "selections": { + "new-york-style-selection": { + "object_id": "new-york-style-selection", + "tally": 2, + "value": "A147CA31DE0F48C1", + "message": { + "pad": "BE675E3C46202596", + "data": "4719BAF22792C8FA" + }, + "shares": [ + { + "object_id": "new-york-style-selection", + "guardian_id": "1", + "share": "A7FEDB754F1060A0", + "proof": { + "pad": "6CA713B1289A42DB", + "data": "F7BDD9F163373387", + "challenge": "FED0", + "response": "CC9E", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "2", + "share": "D11928D48DCF7A7D", + "proof": { + "pad": "37157FBA9B3242A3", + "data": "FA8C92215C923CB2", + "challenge": "A10F", + "response": "779D", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "3", + "share": "377247AF0FD96A08", + "proof": { + "pad": "3ED1D6C55918F42F", + "data": "262A93CF8E5BEC55", + "challenge": "4A2F", + "response": "052C", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "4", + "share": "F83BE618EA7E4320", + "proof": { + "pad": "03BC7E65F404F64A", + "data": "BC190883C86CBA2F", + "challenge": "86CB", + "response": "21CC", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "new-york-style-selection", + "guardian_id": "5", + "share": "413AA175124363CA", + "proof": { + "pad": "C23E5F52A81E6529", + "data": "FD174F08DB29A281", + "challenge": "BF7B", + "response": "D698", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "montreal-style-selection": { + "object_id": "montreal-style-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "B6BF141B3DC634D8", + "data": "188965F0A3D27523" + }, + "shares": [ + { + "object_id": "montreal-style-selection", + "guardian_id": "1", + "share": "13A1A7038F9FC89B", + "proof": { + "pad": "1C88C9E6589C8E42", + "data": "7133F292D78C826E", + "challenge": "A464", + "response": "F646", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "2", + "share": "554F3E93157EAFAD", + "proof": { + "pad": "C57A0B32A5C25B95", + "data": "76950F86A972F4B8", + "challenge": "2AC3", + "response": "8F81", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "3", + "share": "21CFCA031D008958", + "proof": { + "pad": "7D004EAEE7A6252E", + "data": "EE50E9D9BDADA909", + "challenge": "0632", + "response": "C89F", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "4", + "share": "336BAFFE91FBB8DF", + "proof": { + "pad": "4134451715E53A00", + "data": "50E68B606436A5E7", + "challenge": "8A0D", + "response": "3367", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "montreal-style-selection", + "guardian_id": "5", + "share": "7207BF30FCE0F3A8", + "proof": { + "pad": "4ABB2A00858B4D29", + "data": "FF5C4B507C822EC8", + "challenge": "D168", + "response": "DBB0", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "st-louis-style-selection": { + "object_id": "st-louis-style-selection", + "tally": 1, + "value": "D6982759F3D5107E", + "message": { + "pad": "432679540266623B", + "data": "12B623ED7839BFCC" + }, + "shares": [ + { + "object_id": "st-louis-style-selection", + "guardian_id": "1", + "share": "DB4F876E557288D8", + "proof": { + "pad": "9027CB0438AC4F91", + "data": "C46F3051EC192BE4", + "challenge": "C3F6", + "response": "A9F1", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "2", + "share": "37188083B8B15F3F", + "proof": { + "pad": "AA10767A617E91E4", + "data": "27742C0CD9F92FC7", + "challenge": "142F", + "response": "FBD2", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "3", + "share": "A605EC41B237628F", + "proof": { + "pad": "6B58B2ED0A6E497B", + "data": "C60FA3B69D92123C", + "challenge": "32A5", + "response": "10FD", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "4", + "share": "E5CBC2272BB06013", + "proof": { + "pad": "B42A78CC86390393", + "data": "D2BB6508A451DEA8", + "challenge": "B1E7", + "response": "2725", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "st-louis-style-selection", + "guardian_id": "5", + "share": "31C7A1C0FF3BE242", + "proof": { + "pad": "1C780AC4874A26A1", + "data": "4A0E3826A2BC9123", + "challenge": "34ED", + "response": "66AB", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + }, + "write-in-style-selection": { + "object_id": "write-in-style-selection", + "tally": 0, + "value": "01", + "message": { + "pad": "2A8E08F17726AE77", + "data": "8DD6076433970553" + }, + "shares": [ + { + "object_id": "write-in-style-selection", + "guardian_id": "1", + "share": "D9767655E5205750", + "proof": { + "pad": "83CCBD6030016BCD", + "data": "2507AE4691D1B32E", + "challenge": "E010", + "response": "29D2", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "2", + "share": "D033889CEB379E3C", + "proof": { + "pad": "8B104FCC04C32ADB", + "data": "36784D171EE76386", + "challenge": "2144", + "response": "3BB8", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "3", + "share": "918B089D079B4C57", + "proof": { + "pad": "C562B14F9559D23C", + "data": "112026BA08E05E5A", + "challenge": "C1E8", + "response": "4A69", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "4", + "share": "ABA6AE2E1F243DF2", + "proof": { + "pad": "E3BC5DE11AD4169C", + "data": "AA31C46F4B6106C1", + "challenge": "DD29", + "response": "D59A", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + }, + { + "object_id": "write-in-style-selection", + "guardian_id": "5", + "share": "AA1AF91C1D4CAA76", + "proof": { + "pad": "193EA0F0A9554D1E", + "data": "787A241CEEC38D87", + "challenge": "F72B", + "response": "A37C", + "usage": "Prove knowledge of secret value" + }, + "recovered_parts": null + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/data/range-proofs/schema/ciphertext_ballot.schema.json b/data/range-proofs/schema/ciphertext_ballot.schema.json new file mode 100644 index 00000000..35a14732 --- /dev/null +++ b/data/range-proofs/schema/ciphertext_ballot.schema.json @@ -0,0 +1,343 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://electionguard.vote/schemas/range-proofs/ciphertext-ballot", + "title": "Ciphertext Ballot", + "type": "object", + "required": [ + "object_id", + "style_id", + "manifest_hash", + "code_seed", + "contests", + "code", + "timestamp", + "crypto_hash", + "nonce" + ], + "definitions": { + "SequenceOrder": { + "title": "Sequence Order", + "description": "Used for ordering in a ballot to ensure various encryption primitives are deterministic.", + "type": "integer", + "minimum": 1 + }, + "ElementModP": { + "title": "ElementModP", + "description": "An element of the larger `mod p` space, i.e., in [0, P), where P is a 4096-bit prime.", + "type": "string" + }, + "ElementModQ": { + "title": "ElementModQ", + "description": "An element of the smaller `mod q` space, i.e., in [0, Q), where Q is a 256-bit prime.", + "type": "string" + }, + "ElGamalCiphertext": { + "title": "ElGamal Ciphertext", + "description": "An exponential ElGamal ciphertext", + "type": "object", + "required": ["pad", "data"], + "properties": { + "pad": { + "title": "Pad", + "description": "pad or alpha", + "$ref": "#/definitions/ElementModQ" + }, + "data": { + "title": "Data", + "description": "encrypted data or beta", + "$ref": "#/definitions/ElementModQ" + } + } + }, + "HashedElGamalCiphertext": { + "title": "Hashed ElGamal Ciphertext", + "description": "A hashed version of ElGamal Ciphertext with less size restrictions.", + "type": "object", + "required": ["pad", "data", "mac"], + "properties": { + "pad": { + "title": "Pad", + "description": "pad or alpha", + "$ref": "#/definitions/ElementModP" + }, + "data": { + "title": "Data", + "description": "encrypted data or beta", + "type": "string" + }, + "mac": { + "title": "MAC", + "description": "message authentication code for hmac", + "type": "string" + } + } + }, + "ProofUsage": { + "title": "Proof Usage", + "description": "Usage case for proof", + "type": "string", + "enum": [ + "Unknown", + "Prove knowledge of secret value", + "Prove value is a given constant", + "Prove value is within a given range (0, 1, ..., or limit)" + ], + "default": "Unknown" + }, + "RangeChaumPedersenProof": { + "title": "Range Chaum-Pedersen Proof", + "description": "Representation of range Chaum-Pederson proof", + "type": "object", + "required": [ + "commitments", + "challenges", + "responses", + "limit", + "usage" + ], + "properties": { + "commitments": { + "title": "Commitments", + "description": "List of commitments a0, b0, a1, b1, ..., aL, bL", + "type": "array", + "minItems": 4, + "items": { + "title": "Items", + "$ref": "#/definitions/ElementModP" + } + }, + "challenges": { + "title": "Challenges", + "description": "List of challenges c0, c1, ..., cL, c", + "type": "array", + "minItems": 3, + "items": { + "title": "Items", + "$ref": "#/definitions/ElementModQ" + } + }, + "responses": { + "title": "Responses", + "description": "List of responses v0, v1, ..., vL", + "type": "array", + "minItems": 2, + "items": { + "title": "Items", + "$ref": "#/definitions/ElementModQ" + } + }, + "limit": { + "title": "Selection limit", + "description": "L in the spec", + "type": "integer" + }, + "usage": { + "title": "Usage", + "description": "A description of how to use this proof", + "$ref": "#/definitions/ProofUsage", + "default": "Prove value is within a given range (0, 1, ..., or limit)" + } + } + }, + "CiphertextBallotSelection": { + "title": "Ciphertext Ballot Selection", + "description": "A CiphertextBallotSelection represents an individual encrypted selection on a ballot.", + "type": "object", + "required": [ + "object_id", + "sequence_order", + "description_hash", + "ciphertext", + "crypto_hash", + "nonce", + "proof", + "selection_limit" + ], + "properties": { + "object_id": { + "title": "Object_id", + "type": "string" + }, + "sequence_order": { + "title": "Sequence Order", + "description": "Used for ordering in a ballot to ensure various encryption primitives are deterministic.", + "$ref": "#/definitions/SequenceOrder" + }, + "description_hash": { + "title": "Description_hash", + "description": "The SelectionDescription hash", + "$ref": "#/definitions/ElementModQ" + }, + "ciphertext": { + "title": "Ciphertext", + "description": "The encrypted representation of the vote field", + "$ref": "#/definitions/ElGamalCiphertext" + }, + "crypto_hash": { + "title": "Crypto Hash", + "description": "The hash of the encrypted values", + "$ref": "#/definitions/ElementModQ" + }, + "nonce": { + "title": "Nonce", + "description": "The nonce used to generate the encryption. Sensitive & should be treated as a secret", + "oneOf": [ + { "type": "null" }, + { "$ref": "#/definitions/ElementModQ" } + ], + "default": null + }, + "proof": { + "title": "Proof", + "description": "The proof that demonstrates the selection is an encryption of 0, 1, ..., limit, and was encrypted using the `nonce`", + "oneOf": [ + { "type": "null" }, + { "$ref": "#/definitions/RangeChaumPedersenProof" } + ], + "default": null + }, + "selection_limit": { + "title": "Selection Limit", + "description": "Maximum number of votes allowed for the selection", + "type": "integer" + } + } + }, + "CiphertextBallotContest": { + "title": "Ciphertext Ballot Contest", + "description": "A CiphertextBallotContest represents the selections made by a voter for a specific ContestDescription.", + "type": "object", + "required": [ + "object_id", + "sequence_order", + "description_hash", + "ballot_selections", + "ciphertext_accumulation", + "crypto_hash", + "contest_limit", + "nonce", + "proof", + "extended_data" + ], + "properties": { + "object_id": { + "title": "Object Id", + "type": "string" + }, + "sequence_order": { + "title": "Sequence Order", + "description": "Used for ordering in a ballot to ensure various encryption primitives are deterministic.", + "$ref": "#/definitions/SequenceOrder" + }, + "description_hash": { + "title": "Description Hash", + "description": "Hash from contestDescription", + "$ref": "#/definitions/ElementModQ" + }, + "ballot_selections": { + "title": "Ballot_selections", + "type": "array", + "minItems": 1, + "items": { + "title": "Items", + "$ref": "#/definitions/CiphertextBallotSelection" + } + }, + "ciphertext_accumulation": { + "title": "Ciphertext Accumulation", + "description": "The encrypted representation of all of the vote fields (the contest total)", + "$ref": "#/definitions/ElGamalCiphertext" + }, + "crypto_hash": { + "title": "Crypto Hash", + "description": "Hash of the encrypted values", + "$ref": "#/definitions/ElementModQ" + }, + "contest_limit": { + "title": "Contest Limit", + "description": "Maximum total number of votes allowed across all selections for the contest", + "type": "integer" + }, + "nonce": { + "title": "Nonce", + "description": "The nonce used to generate the encryption. Sensitive & should be treated as a secret", + "oneOf": [ + { "type": "null" }, + { "$ref": "#/definitions/ElementModQ" } + ], + "default": null + }, + "proof": { + "title": "Proof", + "description": "The proof that demonstrates the sum of values encrypted in the selections does not exceed the maximum available for the contest", + "oneOf": [ + { "type": "null" }, + { "$ref": "#/definitions/RangeChaumPedersenProof" } + ], + "default": null + }, + "extended_data": { + "title": "Extended Data", + "description": "Encrypted representation of the extended_data field", + "oneOf": [ + { "type": "null" }, + { "$ref": "#/definitions/HashedElGamalCiphertext" } + ], + "default": null + } + } + } + }, + "properties": { + "object_id": { + "title": "Object Id", + "type": "string" + }, + "style_id": { + "title": "Style Id", + "description": "The `object_id` of the `BallotStyle` in the `Election` Manifest", + "type": "string" + }, + "manifest_hash": { + "title": "Manifest Hash", + "description": "Hash of the election manifest", + "$ref": "#/definitions/ElementModQ" + }, + "code_seed": { + "title": "Code_seed", + "description": "Seed for ballot code", + "$ref": "#/definitions/ElementModQ" + }, + "contests": { + "title": "Contests", + "description": "List of contests for this ballot", + "type": "array", + "minItems": 1, + "items": { + "title": "Items", + "$ref": "#/definitions/CiphertextBallotContest" + } + }, + "code": { + "title": "Code", + "description": "Unique ballot code for this ballot", + "$ref": "#/definitions/ElementModQ" + }, + "timestamp": { + "title": "Timestamp", + "description": "Timestamp at which the ballot encryption is generated in tick", + "type": "integer" + }, + "crypto_hash": { + "title": "Crypto Hash", + "description": "The hash of the encrypted ballot representation", + "$ref": "#/definitions/ElementModQ" + }, + "nonce": { + "title": "Nonce", + "description": "The nonce used to encrypt this ballot. Sensitive & should be treated as a secret", + "oneOf": [{ "type": "null" }, { "$ref": "#/definitions/ElementModQ" }], + "default": null + } + } +} diff --git a/data/range-proofs/schema/ciphertext_election_context.schema.json b/data/range-proofs/schema/ciphertext_election_context.schema.json new file mode 100644 index 00000000..e7f0c3f9 --- /dev/null +++ b/data/range-proofs/schema/ciphertext_election_context.schema.json @@ -0,0 +1,88 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://electionguard.vote/schemas/range-proofs/election-context", + "title": "Ciphertext Election Context", + "type": "object", + "required": [ + "number_of_guardians", + "quorum", + "elgamal_public_key", + "commitment_hash", + "manifest_hash", + "crypto_base_hash", + "crypto_extended_base_hash", + "configuration" + ], + "definitions": { + "ElementModP": { + "title": "ElementModP", + "description": "An element of the larger `mod p` space, i.e., in [0, P), where P is a 4096-bit prime.", + "type": "string" + }, + "ElementModQ": { + "title": "ElementModQ", + "description": "An element of the smaller `mod q` space, i.e., in [0, Q), where Q is a 256-bit prime.", + "type": "string" + }, + "Configuration": { + "title": "Configuration", + "type": "object", + "properties": { + "allow_overvotes": { + "title": "Allow Overvotes", + "default": true, + "type": "boolean" + }, + "max_votes": { + "title": "Max Votes", + "default": 1000000, + "type": "integer" + } + } + } + }, + "properties": { + "number_of_guardians": { + "title": "Number Of Guardians", + "type": "integer", + "description": "The number of guardians necessary to generate the public key" + }, + "quorum": { + "title": "Quorum", + "type": "integer", + "description": "The quorum of guardians necessary to decrypt an election. Must be less than `number_of_guardians`" + }, + "elgamal_public_key": { + "$ref": "#/definitions/ElementModP", + "description": "The `joint public key (K)` in the specification" + }, + "commitment_hash": { + "$ref": "#/definitions/ElementModQ", + "description": "the `commitment hash H(K 1,0 , K 2,0 ... , K n,0 )` of the public commitments guardians make to each other in the specification" + }, + "manifest_hash": { + "$ref": "#/definitions/ElementModQ", + "description": "The hash of the election metadata" + }, + "crypto_base_hash": { + "$ref": "#/definitions/ElementModQ", + "description": "The `base hash code (𝑄)` in the specification" + }, + "crypto_extended_base_hash": { + "$ref": "#/definitions/ElementModQ", + "description": "The `extended base hash code (𝑄')` in specification" + }, + "extended_data": { + "title": "Extended Data", + "type": ["object", "null"], + "description": "Data to allow extending the context for special cases", + "additionalProperties": { + "type": "string" + } + }, + "configuration": { + "$ref": "#/definitions/Configuration", + "description": "Configuration for the election edge cases" + } + } +} diff --git a/data/range-proofs/schema/election_constants.schema.json b/data/range-proofs/schema/election_constants.schema.json new file mode 100644 index 00000000..fff0a3c9 --- /dev/null +++ b/data/range-proofs/schema/election_constants.schema.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://electionguard.vote/schemas/range-proofs/election-constants", + "title": "Election Constants", + "type": "object", + "required": ["large_prime", "small_prime", "cofactor", "generator"], + "properties": { + "large_prime": { + "title": "Large Prime", + "type": "string" + }, + "small_prime": { + "title": "Small Prime", + "type": "string" + }, + "cofactor": { + "title": "Cofactor", + "type": "string" + }, + "generator": { + "title": "Generator", + "type": "string" + } + } +} diff --git a/data/range-proofs/schema/encryption_device.schema.json b/data/range-proofs/schema/encryption_device.schema.json new file mode 100644 index 00000000..65402f6a --- /dev/null +++ b/data/range-proofs/schema/encryption_device.schema.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://electionguard.vote/schemas/range-proofs/encryption-device", + "title": "Encryption Device", + "type": "object", + "required": ["device_id", "session_id", "launch_code", "location"], + "properties": { + "device_id": { + "title": "Device Id", + "type": "integer" + }, + "session_id": { + "title": "Session Id", + "type": "integer" + }, + "launch_code": { + "title": "Launch Code", + "type": "integer" + }, + "location": { + "title": "Location", + "type": "string" + } + } +} diff --git a/data/range-proofs/schema/guardian_record.schema.json b/data/range-proofs/schema/guardian_record.schema.json new file mode 100644 index 00000000..28afae64 --- /dev/null +++ b/data/range-proofs/schema/guardian_record.schema.json @@ -0,0 +1,5 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://electionguard.vote/schemas/range-proofs/guardian-record", + "title": "Guardian Record" +} diff --git a/data/range-proofs/schema/lagrange_coefficients_record.schema.json b/data/range-proofs/schema/lagrange_coefficients_record.schema.json new file mode 100644 index 00000000..51792db0 --- /dev/null +++ b/data/range-proofs/schema/lagrange_coefficients_record.schema.json @@ -0,0 +1,23 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://electionguard.vote/schemas/range-proofs/lagrange-coefficients-record", + "title": "Lagrange Coefficients Record", + "type": "object", + "required": ["coefficients"], + "definitions": { + "ElementModQ": { + "title": "ElementModQ", + "description": "An element of the smaller `mod q` space, i.e., in [0, Q), where Q is a 256-bit prime.", + "type": "string" + } + }, + "properties": { + "coefficients": { + "title": "Coefficients", + "type": "array", + "items": { + "$ref": "#/definitions/ElementModQ" + } + } + } +} diff --git a/data/range-proofs/schema/manifest.schema.json b/data/range-proofs/schema/manifest.schema.json new file mode 100644 index 00000000..4467f7ef --- /dev/null +++ b/data/range-proofs/schema/manifest.schema.json @@ -0,0 +1,531 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://electionguard.vote/schemas/range-proofs/manifest", + "title": "Manifest", + "description": "Initial details to define an election", + "type": "object", + "required": [ + "election_scope_id", + "spec_version", + "type", + "start_date", + "end_date", + "geopolitical_units", + "parties", + "candidates", + "contests", + "ballot_styles" + ], + "definitions": { + "SequenceOrder": { + "title": "Sequence Order", + "description": "Used for ordering in a ballot to ensure various encryption primitives are deterministic.", + "type": "integer", + "minimum": 1 + }, + "SpecVersion": { + "title": "Spec Version", + "description": "Used to define the specification used", + "enum": ["v0.95", "1.0"] + } + }, + "properties": { + "name": { + "title": "Election Name", + "type": "object", + "properties": { + "text": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "value": { + "title": "Value", + "type": "string", + "maxLength": 256 + }, + "language": { + "title": "Language", + "type": "string", + "maxLength": 256 + } + } + } + } + } + }, + "spec_version": { + "title": "Specification Version", + "$ref": "#/definitions/SpecVersion" + }, + "contact_information": { + "title": "Contact Information", + "type": ["object", "null"], + "properties": { + "address_line": { + "title": "Full Address", + "type": ["array", "null"], + "items": { + "type": "string", + "maxLength": 256 + } + }, + "name": { + "title": "Contact Name", + "type": ["string", "null"] + }, + "email": { + "title": "Email(s)", + "type": ["array", "null"], + "items": { + "type": "object", + "properties": { + "annotation": { + "title": "Annotation", + "type": "string", + "maxLength": 256 + }, + "value": { + "title": "Email", + "type": "string", + "maxLength": 256 + } + } + } + }, + "phone": { + "title": "Phone Number(s)", + "type": ["array", "null"], + "items": { + "type": "object", + "properties": { + "annotation": { + "title": "Annotation", + "type": "string", + "maxLength": 256 + }, + "value": { + "title": "Phone Number", + "type": "string", + "maxLength": 256 + } + } + } + } + } + }, + "start_date": { + "title": "Start Date", + "type": "string", + "maxLength": 256 + }, + "end_date": { + "title": "End Date", + "type": "string", + "maxLength": 256 + }, + "election_scope_id": { + "title": "Election Scope Id", + "type": "string", + "maxLength": 256 + }, + "type": { + "title": "Election Type", + "type": "string", + "enum": [ + "unknown", + "general", + "partisan_primary_closed", + "partisan_primary_open", + "primary", + "runoff", + "special", + "other" + ] + }, + "geopolitical_units": { + "title": "Geopolitical Units", + "type": "array", + "items": { + "title": "Geopolitical Unit", + "type": "object", + "properties": { + "object_id": { + "title": "Id", + "type": "string", + "maxLength": 256 + }, + "name": { + "title": "Name", + "type": "string", + "maxLength": 256 + }, + "type": { + "title": "Type", + "type": "string", + "enum": [ + "unknown", + "ballot_batch", + "ballot_style_area", + "borough", + "city", + "city_council", + "combined_precinct", + "congressional", + "country", + "county", + "county_council", + "drop_box", + "judicial", + "municipality", + "polling_place", + "precinct", + "school", + "special", + "split_precinct", + "state", + "state_house", + "state_senate", + "township", + "utility", + "village", + "vote_center", + "ward", + "water", + "other" + ] + }, + "contact_information": { + "title": "Contact Information", + "type": ["object", "null"], + "properties": { + "address_line": { + "title": "Full Address", + "type": ["array", "null"], + "items": { + "type": "string", + "maxLength": 256 + } + }, + "name": { + "title": "Contact Name", + "type": ["string", "null"] + }, + "email": { + "title": "Email(s)", + "type": ["array", "null"], + "items": { + "type": "object", + "properties": { + "annotation": { + "title": "Annotation", + "type": "string", + "maxLength": 256 + }, + "value": { + "title": "Email", + "type": "string", + "maxLength": 256 + } + } + } + }, + "phone": { + "title": "Phone Number(s)", + "type": ["array", "null"], + "items": { + "type": "object", + "properties": { + "annotation": { + "title": "Annotation", + "type": "string", + "maxLength": 256 + }, + "value": { + "title": "Phone Number", + "type": "string", + "maxLength": 256 + } + } + } + } + } + } + } + } + }, + "parties": { + "title": "Parties", + "type": "array", + "items": { + "title": "Party", + "type": "object", + "properties": { + "object_id": { + "title": "Id", + "type": "string", + "maxLength": 256 + }, + "ballot_name": { + "title": "Party Name", + "type": "object", + "properties": { + "text": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "title": "Value", + "type": "string", + "maxLength": 256 + }, + "language": { + "title": "Language", + "type": "string", + "maxLength": 256 + } + } + } + } + } + }, + "abbreviation": { + "title": "Abbreviation", + "type": ["string", "null"] + }, + "color": { + "title": "Color", + "type": ["string", "null"] + }, + "logo_uri": { + "title": "Logo Uri", + "type": ["string", "null"] + } + } + } + }, + "candidates": { + "title": "Candidates", + "type": "array", + "items": { + "title": "Candidate", + "type": "object", + "properties": { + "object_id": { + "title": "Id", + "type": "string", + "maxLength": 256 + }, + "ballot_name": { + "title": "Candidate Name", + "type": "object", + "properties": { + "text": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "value": { + "title": "Value", + "type": "string", + "maxLength": 256 + }, + "language": { + "title": "Language", + "type": "string", + "maxLength": 256 + } + } + } + } + } + }, + "party_id": { + "title": "Party Id", + "type": ["string", "null"] + }, + "image_uri": { + "title": "Image Uri", + "type": ["string", "null"] + }, + "is_write_in": { + "title": "Is Write In", + "type": ["boolean", "null"] + } + } + } + }, + "contests": { + "title": "Contests", + "minItems": 1, + "type": "array", + "items": { + "title": "Contest", + "type": "object", + "properties": { + "object_id": { + "title": "Id", + "type": "string", + "maxLength": 256 + }, + "electoral_district_id": { + "title": "Electoral District Id", + "type": "string", + "maxLength": 256 + }, + "sequence_order": { + "title": "Sequence Order", + "description": "Order to display", + "$ref": "#/definitions/SequenceOrder" + }, + "vote_variation": { + "title": "Vote Variation", + "type": "string", + "enum": [ + "unknown", + "one_of_m", + "approval", + "borda", + "cumulative", + "majority", + "n_of_m", + "plurality", + "proportional", + "range", + "rcv", + "super_majority", + "other" + ] + }, + "votes_allowed": { + "title": "Votes Allowed", + "description": "Maximum total number of votes allowed across selections in the contest", + "type": "integer" + }, + "votes_allowed_per_selection": { + "title": "Votes Allowed Per Selection", + "description": "Maximum number of votes allowed for each selection in the contest", + "type": "integer" + }, + "name": { + "title": "Name", + "type": "string", + "maxLength": 256 + }, + "ballot_selections": { + "title": "Ballot Selections", + "type": "array", + "items": { + "title": "Ballot Selection", + "type": "object", + "properties": { + "object_id": { + "title": "Id", + "type": "string", + "maxLength": 256 + }, + "candidate_id": { + "title": "Candidate Id", + "type": "string", + "maxLength": 256 + }, + "sequence_order": { + "title": "Sequence Order", + "$ref": "#/definitions/SequenceOrder" + } + } + } + }, + "ballot_title": { + "title": "Ballot Title", + "type": ["object", "null"], + "properties": { + "text": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "properties": { + "value": { + "title": "Value", + "type": "string", + "maxLength": 256 + }, + "language": { + "title": "Language", + "type": "string", + "maxLength": 256 + } + } + } + } + } + }, + "ballot_subtitle": { + "title": "Ballot Subtitle", + "type": ["object", "null"], + "properties": { + "text": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "title": "Value", + "type": "string", + "maxLength": 256 + }, + "language": { + "title": "Language", + "type": "string", + "maxLength": 256 + } + } + } + } + } + } + } + } + }, + "ballot_styles": { + "title": "Ballot Styles", + "minItems": 1, + "type": "array", + "items": { + "title": "Ballot Style", + "type": "object", + "properties": { + "object_id": { + "title": "Id", + "type": "string", + "maxLength": 256 + }, + "geopolitical_unit_ids": { + "title": "Geopolitical Unit Ids", + "type": ["array", "null"], + "items": { + "type": "string", + "maxLength": 256 + } + }, + "party_ids": { + "title": "Party Ids", + "type": ["array", "null"], + "items": { + "type": "string", + "maxLength": 256 + } + }, + "image_uri": { + "title": "Image Uri", + "type": ["string", "null"] + } + } + } + } + } +} diff --git a/data/range-proofs/schema/plaintext_ballot.schema.json b/data/range-proofs/schema/plaintext_ballot.schema.json new file mode 100644 index 00000000..f60eb548 --- /dev/null +++ b/data/range-proofs/schema/plaintext_ballot.schema.json @@ -0,0 +1,77 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://electionguard.vote/schemas/range-proofs/plaintext-ballot", + "title": "Plaintext Ballot", + "description": "Represents a voter's selections for a given ballot and ballot style", + "type": "object", + "required": ["object_id", "style_id", "contests"], + "definitions": { + "Vote": { + "title": "Vote", + "type": "integer", + "minimum": 0 + }, + "PlaintextBallotSelection": { + "title": "Plaintext Ballot Selection", + "type": "object", + "required": ["object_id", "vote"], + "properties": { + "object_id": { + "title": "Object Id", + "type": "string" + }, + "vote": { + "title": "Vote", + "$ref": "#/definitions/Vote" + }, + "write_in": { + "title": "Write In", + "description": "An optional field for the value of a write-in candidate", + "oneOf": [{ "type": "string" }, { "type": "null" }] + } + } + }, + "PlaintextBallotContest": { + "title": "Plaintext Ballot Contest", + "type": "object", + "required": ["object_id", "ballot_selections"], + "properties": { + "object_id": { + "title": "Object Id", + "type": "string" + }, + "ballot_selections": { + "title": "Selections", + "description": "Represents an individual selection on a ballot", + "type": "array", + "minItems": 1, + "items": { + "title": "Selections", + "$ref": "#/definitions/PlaintextBallotSelection" + } + } + } + } + }, + "properties": { + "object_id": { + "title": "Object Id", + "type": "string" + }, + "style_id": { + "title": "Style Id", + "type": "string", + "description": "The `object_id` of the `BallotStyle` in the `Election` Manifest" + }, + "contests": { + "title": "Contests", + "description": "Represents the selections made by a voter for a specific ContestDescription", + "type": "array", + "minItems": 1, + "items": { + "title": "Contests", + "$ref": "#/definitions/PlaintextBallotContest" + } + } + } +} diff --git a/data/range-proofs/schema/plaintext_tally.schema.json b/data/range-proofs/schema/plaintext_tally.schema.json new file mode 100644 index 00000000..1553c54a --- /dev/null +++ b/data/range-proofs/schema/plaintext_tally.schema.json @@ -0,0 +1,5 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://electionguard.vote/schemas/range-proofs/plaintext-tally", + "title": "Plaintext Tally" +} diff --git a/data/range-proofs/schema/published_ciphertext_tally.schema.json b/data/range-proofs/schema/published_ciphertext_tally.schema.json new file mode 100644 index 00000000..5941f6e4 --- /dev/null +++ b/data/range-proofs/schema/published_ciphertext_tally.schema.json @@ -0,0 +1,5 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://electionguard.vote/schemas/range-proofs/published-ciphertext-tally", + "title": "Published Ciphertext Tally" +} diff --git a/data/range-proofs/schema/submitted_ballot.schema.json b/data/range-proofs/schema/submitted_ballot.schema.json new file mode 100644 index 00000000..187e0abf --- /dev/null +++ b/data/range-proofs/schema/submitted_ballot.schema.json @@ -0,0 +1,357 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://electionguard.vote/schemas/range-proofs/submitted-ballot", + "title": "Submitted Ballot", + "description": "A `SubmittedBallot` represents a ballot that is submitted for inclusion in election results. A submitted ballot is or is about to be either cast or spoiled. The state supports the `BallotBoxState.UNKNOWN` enumeration to indicate that this object is mutable and has not yet been explicitly assigned a specific state. Note, additionally, this ballot includes all proofs but no nonces.", + "type": "object", + "required": [ + "object_id", + "style_id", + "manifest_hash", + "code_seed", + "contests", + "code", + "timestamp", + "crypto_hash", + "nonce", + "state" + ], + "definitions": { + "SequenceOrder": { + "title": "Sequence Order", + "description": "Used for ordering in a ballot to ensure various encryption primitives are deterministic.", + "type": "integer", + "minimum": 1 + }, + "ElementModP": { + "title": "ElementModP", + "description": "An element of the larger `mod p` space, i.e., in [0, P), where P is a 4096-bit prime.", + "type": "string" + }, + "ElementModQ": { + "title": "ElementModQ", + "description": "An element of the smaller `mod q` space, i.e., in [0, Q), where Q is a 256-bit prime.", + "type": "string" + }, + "BallotBoxState": { + "title": "BallotBox State", + "description": "Enumeration used when marking a ballot as cast or spoiled", + "type": "integer", + "enum": [1, 2, 999], + "default": 999 + }, + "ElGamalCiphertext": { + "title": "ElGamal Ciphertext", + "description": "An exponential ElGamal ciphertext", + "type": "object", + "required": ["pad", "data"], + "properties": { + "pad": { + "title": "Pad", + "description": "pad or alpha", + "$ref": "#/definitions/ElementModQ" + }, + "data": { + "title": "Data", + "description": "encrypted data or beta", + "$ref": "#/definitions/ElementModQ" + } + } + }, + "HashedElGamalCiphertext": { + "title": "Hashed ElGamal Ciphertext", + "description": "A hashed version of ElGamal Ciphertext with less size restrictions.", + "type": "object", + "required": ["pad", "data", "mac"], + "properties": { + "pad": { + "title": "Pad", + "description": "pad or alpha", + "$ref": "#/definitions/ElementModP" + }, + "data": { + "title": "Data", + "description": "encrypted data or beta", + "type": "string" + }, + "mac": { + "title": "MAC", + "description": "message authentication code for hmac", + "type": "string" + } + } + }, + "ProofUsage": { + "title": "Proof Usage", + "description": "Usage case for proof", + "type": "string", + "enum": [ + "Unknown", + "Prove knowledge of secret value", + "Prove value is a given constant", + "Prove value is within a given range (0, 1, ..., or limit)" + ], + "default": "Unknown" + }, + "RangeChaumPedersenProof": { + "title": "Range Chaum-Pedersen Proof", + "description": "Representation of range Chaum-Pederson proof", + "type": "object", + "required": [ + "commitments", + "challenges", + "responses", + "limit", + "usage" + ], + "properties": { + "commitments": { + "title": "Commitments", + "description": "List of commitments a0, b0, a1, b1, ..., aL, bL", + "type": "array", + "minItems": 4, + "items": { + "title": "Items", + "$ref": "#/definitions/ElementModP" + } + }, + "challenges": { + "title": "Challenges", + "description": "List of challenges c0, c1, ..., cL, c", + "type": "array", + "minItems": 3, + "items": { + "title": "Items", + "$ref": "#/definitions/ElementModQ" + } + }, + "responses": { + "title": "Responses", + "description": "List of responses v0, v1, ..., vL", + "type": "array", + "minItems": 2, + "items": { + "title": "Items", + "$ref": "#/definitions/ElementModQ" + } + }, + "limit": { + "title": "Selection limit", + "description": "L in the spec", + "type": "integer" + }, + "usage": { + "title": "Usage", + "description": "A description of how to use this proof", + "$ref": "#/definitions/ProofUsage", + "default": "Prove value is within a given range (0, 1, ..., or limit)" + } + } + }, + "CiphertextBallotSelection": { + "title": "Ciphertext Ballot Selection", + "description": "A CiphertextBallotSelection represents an individual encrypted selection on a ballot.", + "type": "object", + "required": [ + "object_id", + "sequence_order", + "description_hash", + "ciphertext", + "crypto_hash", + "nonce", + "proof", + "selection_limit" + ], + "properties": { + "object_id": { + "title": "Object_id", + "type": "string" + }, + "sequence_order": { + "title": "Sequence Order", + "description": "Used for ordering in a ballot to ensure various encryption primitives are deterministic.", + "$ref": "#/definitions/SequenceOrder" + }, + "description_hash": { + "title": "Description_hash", + "description": "The SelectionDescription hash", + "$ref": "#/definitions/ElementModQ" + }, + "ciphertext": { + "title": "Ciphertext", + "description": "The encrypted representation of the vote field", + "$ref": "#/definitions/ElGamalCiphertext" + }, + "crypto_hash": { + "title": "Crypto Hash", + "description": "The hash of the encrypted values", + "$ref": "#/definitions/ElementModQ" + }, + "nonce": { + "title": "Nonce", + "description": "The nonce used to generate the encryption. Sensitive & should be treated as a secret", + "oneOf": [ + { "type": "null" }, + { "$ref": "#/definitions/ElementModQ" } + ], + "default": null + }, + "proof": { + "title": "Proof", + "description": "The proof that demonstrates the selection is an encryption of 0 or 1, and was encrypted using the `nonce`", + "oneOf": [ + { "type": "null" }, + { "$ref": "#/definitions/RangeChaumPedersenProof" } + ], + "default": null + }, + "selection_limit": { + "title": "Selection Limit", + "description": "Maximum number of votes allowed for the selection", + "type": "integer" + } + } + }, + "CiphertextBallotContest": { + "title": "Ciphertext Ballot Contest", + "description": "A CiphertextBallotContest represents the selections made by a voter for a specific ContestDescription.", + "type": "object", + "required": [ + "object_id", + "sequence_order", + "description_hash", + "ballot_selections", + "ciphertext_accumulation", + "crypto_hash", + "contest_limit", + "nonce", + "proof", + "extended_data" + ], + "properties": { + "object_id": { + "title": "Object Id", + "type": "string" + }, + "sequence_order": { + "title": "Sequence Order", + "description": "Used for ordering in a ballot to ensure various encryption primitives are deterministic.", + "$ref": "#/definitions/SequenceOrder" + }, + "description_hash": { + "title": "Description Hash", + "description": "Hash from contestDescription", + "$ref": "#/definitions/ElementModQ" + }, + "ballot_selections": { + "title": "Ballot_selections", + "type": "array", + "minItems": 1, + "items": { + "title": "Items", + "$ref": "#/definitions/CiphertextBallotSelection" + } + }, + "ciphertext_accumulation": { + "title": "Ciphertext Accumulation", + "description": "The encrypted representation of all of the vote fields (the contest total)", + "$ref": "#/definitions/ElGamalCiphertext" + }, + "crypto_hash": { + "title": "Crypto Hash", + "description": "Hash of the encrypted values", + "$ref": "#/definitions/ElementModQ" + }, + "contest_limit": { + "title": "Contest Limit", + "description": "Maximum total number of votes allowed across all selections for the contest", + "type": "integer" + }, + "nonce": { + "title": "Nonce", + "description": "The nonce used to generate the encryption. Sensitive & should be treated as a secret", + "oneOf": [ + { "type": "null" }, + { "$ref": "#/definitions/ElementModQ" } + ], + "default": null + }, + "proof": { + "title": "Proof", + "description": "The proof that demonstrates the sum of values encrypted in the selections does not exceed the maximum available for the contest", + "oneOf": [ + { "type": "null" }, + { "$ref": "#/definitions/RangeChaumPedersenProof" } + ], + "default": null + }, + "extended_data": { + "title": "Extended Data", + "description": "Encrypted representation of the extended_data field", + "oneOf": [ + { "type": "null" }, + { "$ref": "#/definitions/HashedElGamalCiphertext" } + ], + "default": null + } + } + } + }, + "properties": { + "object_id": { + "title": "Object Id", + "type": "string" + }, + "style_id": { + "title": "Style Id", + "description": "The `object_id` of the `BallotStyle` in the `Election` Manifest", + "type": "string" + }, + "manifest_hash": { + "title": "Manifest Hash", + "description": "Hash of the election manifest", + "$ref": "#/definitions/ElementModQ" + }, + "code_seed": { + "title": "Code_seed", + "description": "Seed for ballot code", + "$ref": "#/definitions/ElementModQ" + }, + "contests": { + "title": "Contests", + "description": "List of contests for this ballot", + "type": "array", + "minItems": 1, + "items": { + "title": "Items", + "$ref": "#/definitions/CiphertextBallotContest" + } + }, + "code": { + "title": "Code", + "description": "Unique ballot code for this ballot", + "$ref": "#/definitions/ElementModQ" + }, + "timestamp": { + "title": "Timestamp", + "description": "Timestamp at which the ballot encryption is generated in tick", + "type": "integer" + }, + "crypto_hash": { + "title": "Crypto Hash", + "description": "The hash of the encrypted ballot representation", + "$ref": "#/definitions/ElementModQ" + }, + "nonce": { + "title": "Nonce", + "description": "The nonce used to encrypt this ballot. Sensitive & should be treated as a secret", + "oneOf": [{ "type": "null" }, { "$ref": "#/definitions/ElementModQ" }], + "default": null + }, + "state": { + "title": "State", + "description": "Submitted state of the ballot", + "$ref": "#/definitions/BallotBoxState" + } + } +} diff --git a/docs/concepts/Verifiability.md b/docs/concepts/Verifiability.md index c01108a5..dbb2aea5 100644 --- a/docs/concepts/Verifiability.md +++ b/docs/concepts/Verifiability.md @@ -53,7 +53,7 @@ E2E-V election verifiers are written by third parties according to their interpr 1. The encryption associated with each option is either an encryption of zero or an encryption of one. 2. The sum of all encrypted values in a contest is equal to the selection limit for that contest (usually one). -> [ElGamal encryption][elgamal-encryption] enables efficient zero-knowledge proofs of these requirements, and the [Fiat-Shamir heuristic][fiat-shamir-heuristic] can be used to make these proofs non-interactive. Chaum-Pedersen proofs are used to demonstrate that an encryption is that of a specified value, and these are combined with the [Cramer-Damgård-Schoenmakers technique][proofs-partial-knowledge-witness-hiding] to show that an encryption is that of one of a specified set of values – particularly that a value is an encryption of either zero or one. The set of encryptions of selections in a contest are homomorphically combined, and the result is shown to be an encryption of that contest’s selection limit, again using a Chaum-Pedersen proof. +> [ElGamal encryption][elgamal-encryption] enables efficient zero-knowledge proofs of these requirements, and the [Fiat-Shamir heuristic][fiat-shamir-heuristic] can be used to make these proofs non-interactive. Chaum-Pedersen proofs are used to demonstrate that an encryption is that of a specified value, and these are combined with the [Cramer-Damgård-Schoenmakers technique][proofs-partial-knowledge-witness-hiding] to show that an encryption is that of one of a specified set of values – usually that a value is an encryption of either zero or one. The set of encryptions of selections in a contest are homomorphically combined, and the result is shown to be an encryption of at-most that contest’s selection limit, again using a Chaum-Pedersen proof. Once every ballot is proven to be properly formed (as above), all of the votes for each option are homomorphically summed to produce encryptions of the tallies for each option. The final step is then to decrypt these tallies and provide additional proofs that the decryption are correct. diff --git a/docs/spec/web/6_Ballot_Encryption.md b/docs/spec/web/6_Ballot_Encryption.md index b94c7551..62687c5c 100644 --- a/docs/spec/web/6_Ballot_Encryption.md +++ b/docs/spec/web/6_Ballot_Encryption.md @@ -24,7 +24,7 @@ Two things must now be proven about the encryption of each vote to ensure the in 2. The sum of all encrypted values in each contest is equal to the selection limit for that contest (usually one). -The use of ElGamal encryption enables efficient zero-knowledge proofs of these requirements, and the Fiat-Shamir heuristic can be used to make these proofs non-interactive. ChaumPedersen proofs are used to demonstrate that an encryption is that of a specified value, and these are combined with the Cramer-Damgård-Schoenmakers technique to show that an encryption is that of one of a specified set of values – particularly that a value is an encryption of either zero or one. The encryptions of selections in a contest are homomorphically combined, and the result is shown to be an encryption of that contest’s selection limit – again using a Chaum-Pedersen proof. +The use of ElGamal encryption enables efficient zero-knowledge proofs of these requirements, and the Fiat-Shamir heuristic can be used to make these proofs non-interactive. ChaumPedersen proofs are used to demonstrate that an encryption is that of a specified value, and these are combined with the Cramer-Damgård-Schoenmakers technique to show that an encryption is that of one of a specified set of values – usually that a value is an encryption of either zero or one. The encryptions of selections in a contest are homomorphically combined, and the result is shown to be an encryption of at-most that contest’s selection limit – again using a Chaum-Pedersen proof. !!! note Note that the decryption of the selection limit could be more efficiently demonstrated by just releasing the sum of the nonces used for each of the individual encryptions. But, again to simplify the construction of election verifiers, a Chaum-Pedersen proof is used here as well.