PPaste!

Home - All the pastes - Authored by Thooms

Raw version

 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
52
53
54
55
56
57
58
59
60
61
62
63
64
$ src/vote/vote 
Generated the following keypair:
    Public key:
        n = 0x6276E094305E14B8E2AE432A71406C2B
        g = 0xE44B91903100367AF3191613BD1D2542B99DA7754CDD93FFE24199D12E03087
    Private key:
        λ = 0x9D8B00ED1A302125D334104A4FD1660
        μ = 0x1BE524C338E43304B9DB79D7EDC36046

Votes:
    Vote no 1:
        Value: 1 (yes)
        Encrypted: 0x2F99C0DB9C9CF12A928760BDC3B2AD8D5070DB3A8617E294D4027AE07E94DF
        Current sum (encrypted): 0x2F99C0DB9C9CF12A928760BDC3B2AD8D5070DB3A8617E294D4027AE07E94DF
        Current sum (decrypted): 0x1 (1)
    Vote no 2:
        Value: 1 (yes)
        Encrypted: 0x1798C887576CF8B9E8FAE7B03DE5FF248ACE9B99662657C28E0716B75071408D
        Current sum (encrypted): 0x19A8BD4533C061C6B4195F85778A9DBD00B6EFAEF2D20514F9497F4D19352BE7
        Current sum (decrypted): 0x2 (2)
    Vote no 3:
        Value: 0 (no)
        Encrypted: 0x1A01D88C0C788E1B5AA309A73EBE805608C3E3D8EF28543A385B1899F2869DAD
        Current sum (encrypted): 0x2B7F032C39930246F763C1F3A911B5DCC829963A628F13EB208CE425B568BC3
        Current sum (decrypted): 0x2 (2)
    Vote no 4:
        Value: 1 (yes)
        Encrypted: 0x14494D10BE587EC3047894BA87E5DD67615E4CC52AA94BB643C37BC048AC24FA
        Current sum (encrypted): 0x18E7333C0114CEC9FCB74E35BE9E7163B36BD89D7391343FF97A0CF21FF6D974
        Current sum (decrypted): 0x3 (3)
    Vote no 5:
        Value: 0 (no)
        Encrypted: 0xEA2E182A4968F65A6730C38DB4B9A2E5D06A1C5069F0468FC9896AF2B263AA7
        Current sum (encrypted): 0x1D4E8C58E1635EB34DD519E0AAABE72D664F548B145301FEC79BE3BA25580CF3
        Current sum (decrypted): 0x3 (3)
    Vote no 6:
        Value: 1 (yes)
        Encrypted: 0xE6E0A55C4D2D136BB69696E4310EA2B032BC2B69E27E4FD22D06CB02C5F6558
        Current sum (encrypted): 0x1FFED768FC5967D217986D1096AE18878B3BBF8E68165BFBFB0536E342C6F479
        Current sum (decrypted): 0x4 (4)
    Vote no 7:
        Value: 0 (no)
        Encrypted: 0x238C1BAF2710A64FA846516006F12BDACDE86DE887CDFA49F526B0E5BE7C9E9F
        Current sum (encrypted): 0xFFB8F21AE65F0C03498B9CDBA1D6049FB6B05D30CC1355949DAF1834980B271
        Current sum (decrypted): 0x4 (4)
    Vote no 8:
        Value: 1 (yes)
        Encrypted: 0x1060376C285E8AE6613784D2AD008E8C4E161D224BEE2C1CB9D4F22CA887990D
        Current sum (encrypted): 0x1FE43A2BAB0D0C70991E0446C20522E9977E662907980C54FF4C6BD0A38946B0
        Current sum (decrypted): 0x5 (5)
    Vote no 9:
        Value: 1 (yes)
        Encrypted: 0x2146EB62E9612A1231C0D0D0906CCAF4B543C4A1B94F457A0831DD3F0EA7A1DA
        Current sum (encrypted): 0xF471865CC9118703A7D62FB4C8235F43DA64AD543414EFB336615275898FB
        Current sum (decrypted): 0x6 (6)
    Vote no 10:
        Value: 0 (no)
        Encrypted: 0x1160CD3E1C3BE82D8DF0EC0E76115AD3C33266842E4F4630A6666FBF98E17B83
        Current sum (encrypted): 0x2528DC5C4E5E4AC4B9EF2FA1A197F6372172ECE5DD214D3D6F95AF1B2D64096B
        Current sum (decrypted): 0x6 (6)

Final sum:
    Encrypted: 0x2528DC5C4E5E4AC4B9EF2FA1A197F6372172ECE5DD214D3D6F95AF1B2D64096B
    Decrypted: 0x6 (6)