-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathConfirmationCodeTestVector.json
51 lines (51 loc) · 2.82 KB
/
ConfirmationCodeTestVector.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"desc": "Test ballot confirmation code",
"joint_public_key": "1E54E8DA3A8ABDE18407DEEAD46B9B09A4AFEC635F8D1D88D6CA24E4D0A5C60C997E42457D5F30694117D01B4F9F355FBE064DBE928CE94E20A3144A0B956714E5A4542A117BE85AF6418BC03FE227BC715956B5D735B4DD6AEECDD0957B86230825E72F3575ADDDE4C153BC860D7C3091377F7477FA9FBA757ADBEB1767D98A499B01AF0E3C541830C26B46CF0B31C00241F37D1E8A3BFDE7AAAD930341F4CEC5257787530199AAF1FC6A17368FF173A9DAE2F8D0B9D769CF25EC9A6A9BEF040BCD2E2DE0404F7655C0901AE55112A2A6574EC1260B7800FF49F144B0B1EE32C046BD3D96392116D651FFFBF11E62F69B5D6C06571041F61207C31DDAFEA1AD8D115FEA0FA91B0D83D4BCDE13CC819E3544B0B60426A0EC55FD7B2B3372AC320673953DA4418C1AD2515493992D3344803A45DA4113F4F3D93A882D70813DC13687A71E7502BE8122A46612F72EE769DD7C5A07F168D8C480C6F51C5A480C470E892DE1D60F9FB8EC37A2076D88C52D4AD0D3D24A85626307934F86C9F7E62C368D9BCD2B5222D7F6479F65C245E15512739E243F19A61A87508E07D5E69829403FD101184B955BFA972F322BF244B70162C8CBF9CBB7ADD0EFBFAE0E2071D69834802A438DE701CFF9F66B61E8930F26CDFB540D5441DFF871E20D2C0EA3B0AC1D22CBC98D4E6FC464D43A20CD75B320ACE5E63481DF4D6A292BCC99BDD6CF",
"extended_base_hash": "CF3CDFE06A368D4A46DCD68B3AF7BD21B2BF819C265C4BEBC3D6567EA3C68885",
"ballots": [
{
"ballot_id": "id-383375086",
"ballot_style": "ballotStyle",
"contests": [
{
"contest_id": "onlyContest",
"sequence_order": 0,
"votes_allowed": 1,
"selections": [
{
"selection_id": "selection1",
"sequence_order": 0,
"vote": 0
},
{
"selection_id": "selection2",
"sequence_order": 1,
"vote": 0
},
{
"selection_id": "selection3",
"sequence_order": 2,
"vote": 0
}
]
}
]
}
],
"expected_encrypted_ballots": [
{
"ballotId": "id-383375086",
"ballotNonce": "65AF3C41B89AE243707411BD5DD4498B300F7A98E1347A6EC0E2414B00B5B624",
"codeBaux": "C3D17665FCFB6733B6F7CD",
"task": "Compute confirmation code (eq 59)",
"expected_confirmationCode": "2C99CD96BFA1A16905EB31DCD8B699768775C0A5E0D80369184A6F94B7E52EF3",
"contests": [
{
"contestId": "onlyContest",
"task": "Compute contest hash (eq 58)",
"expected_contestHash": "03C49D6FE1B9EF5DA3665E6F8E358EBA2D5DB82BE8A139B78347B84F6C8528F6"
}
]
}
]
}