-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.txt
104 lines (77 loc) · 12.7 KB
/
data.txt
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
This file includes the data that was used as an input
for the smart contract at each step with a ring signature of 8.
This data can be generated with the help of SageMath,zkay and the Solidity smart contract Signature.sol:
1) deployCar
address: 0xe53a6d5Fb497ea9E76717c5374ee824431E620CE
details: 0x023e1f0dec4f56475fc8294b6039e7fe75cfa090c9050764b7f679c06cf6415c
price: 11574000000000
2) validateCar:
token: 0xf652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f
location: "Washington"
3) deployRenter:
ppc: 0x3864db492ea1817cd722e69210857480075a08da7d5aab3da4c60d4da1a03125
r: 0xdf79e84fa75d57fc84d4dcdee39030f33714c4c1beeff804e26af8a1314e592e
s: 0x781f0568991dfac047eaf9ebe83df3e24254bf1d7ccfcac49c20f187be19593b
v: 27
verify_deployRenter: ["0x1e812a49d06ced74994a35ff1318ab5903de1932d1e4c55ce9a2c4f05436ea8e","0x2a922fa4716d46d4a3eac314585122981b08a7c42c566d4ebf104df4588813fe","0x300069ad1dc61651597856057bc712b7114c78d22b7103c1e771f2884d92a73b","0x2509305e71bbb71c9bd0f07543e58db72a073ed34aa421e1ca8dc1756fbe2372","0x03f62bfad574782d397685d8c2a461e2de695f3addce15101818686f3a30e735","0x012643701546577e00a4a9136d92ec801243cccc29ea6e5aa3657cb1e8b7bd5a","0x145c9ca26ab095fe3815a97fb9f5f78894701c383505fa3790199ba340fe1ef2","0x26a2fa79e87df7e6bde48514780c4bad4ce8b437b99171d45cd7d65ace079e69"]
genParam: 999942400000000020
4) renterBooking:
car: 0xe53a6d5Fb497ea9E76717c5374ee824431E620CE
secretLink: 0xb868bdfa8727775661e4ccf117824a175a33f8703d728c04488fbfffcafda9f9
signature: ["19497421624279891863314525636757214178834612917599969736218684881437090815607","4293459432669770577372256755607203183957881718646310049282046928806862600058","12668464456178571965652483742951518000554893712978103554848812528424689489017","98389853466451769946478197980744515786452816437889563436542378652679027269483","394524285766198820079586075896253257808392275116872191387494056356972914197","28041515536895362034420970517543816310404934845319511229431237125066077310702","68286623116023719484228231945004124957102044928643114050399635650831136799075","57670798128140205643473828177586775770552243575921766861143426590524674933129","24415422403457733020536255024413607085955683221224275031998727506147670949797","70145044945904467684382564713396930903281910549303427106125281523560093169226","6766165289277132754176018414750371406583415654617289367869369061069346903178","63809899458837542097894285532199791895605805156092219564422500547555164505071","1690539678898991298465887553164075515520111867293693240239963842170083036534","20688047586309407113606161331108555958166147724077007671814236383378517912922","6664461555426801759971585593319345549665764840476363918461518461651987847292","14464844469260044186867311923247371821565009123944784402008078086714886812070","77445051575567497149676992752398537143202547327858163523568524666707542853372","69905991548418450883743993554281900130918678021963683069785988301588398291880"]
message: ["0xce95f5FF6f7c1a341b021D764A9d461698a1629c",true,"46995837473889304402901630668456871674211799381712446200467060470305008194843"]
verify_renterBooking (zk-SNARK): ["0x1868710aed34ec873d4b085852763ed6bcf16fe17b0457ee6f41732857c24c00","0x0ec633e9ef1498bb418ec0d98e1d5fcd1dfb54ba01996ebc05ca9830bca3190f","0x215721dea18534f6278af06e83eed16d98e93c48e1043901830c49f3472e7d41","0x0af2a6bfbf9a0d648f1ea40c7ff7baeff168d5ae3b20e1ca30e26e947278e03d","0x18b5312c12dd932f7dd1567a3d749cfe8459dba97dee379f1837186578d460c7","0x2ebbafdb20f0419892b8e79a7de834c98f5fb2e4b0bc82d340bed69feb33d5f9","0x146aa618781bb163f12e55c99ad23ff1e1175e99aff4bca57f77618d75a7bf9d","0x1729fca061a16aff9100a537b6bcf385e6ad26349b8a57f477390b5d57d0f91a"]
genParam: [1]
5) carBooking:
renter: 0xce95f5FF6f7c1a341b021D764A9d461698a1629c
signature: ["79015571613747589490869360295025062385526415703885581265368661945257825263017","15542072076468660156504346824352350223415085995823630994092681502746904945882","5390115457884479091812011852239050368637639125382330180014643018823432861084","67152306195745017272925600629923595794001370880768223574882980128790942894689","107588518559408180856704287155017225520622255347502258542142524986178737469199","105143365214272132756279427180633934067174001935336562231074116575630341518382","100958925638599181428866735872995848325676245582694114521630857609877441730298","45579777209007576928826952805113312164841010327667157397884246872641921379868","21258444185926461936333568142856215911321170931711338901130449815889209878837","22752382108478805139054337271487845720280972438661643024919221987699728036027","77245674093889155970373505543614903971732045654794909917151221370053914900338","72740838634912828855317044295832479825501350919104416969956529910627795410712","76678214364891388421136727165541942521898857342506846361028805086998486309756","79454007464652022782037240429727024596381468485742851458704477323907944271256","10818708965690552212998633437205711753589606763670736305422349074500029007720","6793889316351833212090076455430914626948233982609784613031805756202811791161","19332574970140186878973007082328280512196267378277956936795789937619792989794","13688947359629206740639307603330152715619727523148188810716519112808370272770"]
message: ["0xe53a6d5Fb497ea9E76717c5374ee824431E620CE",true,"28206730696913192144336985712467973956873972619866353266062487263532571792544"]
6) carPayment:
preimage: 0x2500eabde4b762d9c8c7ca25d8756c98cea9597bb352ba1362ce3cc4c298c7a5
encryptedPreimage: 0xa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688
newToken: 0xa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688
location: "Los Angeles"
signature: ["60043475965551893977998671849432748568850980546146829715960105193576114105883","6770801541336125474919958062420094823463588789419754856518038324662754862826","41557653474400234755596285732646402148074939136308824843794655076327092171571","3839545211211615335594490713082189165918552116155387818654360513384825989621","93539112866824319930181573592758041529183454095188402783829736381213634380026","94445938508985925522870726153685320449389407248640945642518981691400503934528","62393052673340062120965174151855208039245443383308674187174563135759523254985","26040149781237010442641792747865353709750019468021807701496894564223532360675","72978611317822369892307767132669720925576263892780992362718217905242095688743","9286674925265781904800274098608349537208775583088768609208785489390028628747","77245674093889155970373505543614903971732045654794909917151221370053914900338","72740838634912828855317044295832479825501350919104416969956529910627795410712","76678214364891388421136727165541942521898857342506846361028805086998486309756","79454007464652022782037240429727024596381468485742851458704477323907944271256","10818708965690552212998633437205711753589606763670736305422349074500029007720","6793889316351833212090076455430914626948233982609784613031805756202811791161","19332574970140186878973007082328280512196267378277956936795789937619792989794","13688947359629206740639307603330152715619727523148188810716519112808370272770"]
message: ["0xe53a6d5Fb497ea9E76717c5374ee824431E620CE",false,"1600808464"]
7) renterPayment:
preimage: 0x2926c396067f53cbdb423cf1de9e8e6cb36d0bfd60c0a59c209fead4b16e02a2
signature: ["65276745223824443740849929831858237318076531876837897564393323829895370413994","18776067215470917541640115898558222474566394991613670567899731450336825503406","30166583242391785431836261805291641940300494010101103599057950519982596394020","21499999073234042365216290279959817653105999647944122141032131573053296958256","67738438655034252520351093779497437171732176347914041226556350689486700929797","15400682210619599689489703658648255965656958439062435700489642850334579558390","87477923870520561423551714814647974312664375582255619782926584794078818490001","12125141737490650016564594683425137029514546883016977360343352600968126064920","5653472721565609257726892606660847683262147536680499990777195736712053376172","71028538529213151287539915100164447785643469222560967791120471168098927551808","6766165289277132754176018414750371406583415654617289367869369061069346903178","63809899458837542097894285532199791895605805156092219564422500547555164505071","1690539678898991298465887553164075515520111867293693240239963842170083036534","20688047586309407113606161331108555958166147724077007671814236383378517912922","6664461555426801759971585593319345549665764840476363918461518461651987847292","14464844469260044186867311923247371821565009123944784402008078086714886812070","77445051575567497149676992752398537143202547327858163523568524666707542853372","69905991548418450883743993554281900130918678021963683069785988301588398291880"]
message: ["0xce95f5FF6f7c1a341b021D764A9d461698a1629c",false,"499996800000000020"]
verify_renterPayment (zk-SNARK): ["0x1194a59e32a7c2fcd0058a00cb76cd1c51799293a1669386a5ad32d1b745ccca","0x071a46ff2317aad35aa24cc7cf4fef5dd37beb8a6a862185f12c993c5a06fe39","0x07afb5cd6a6add688f1e2df9e26a790ec05d8cbfcae879fedc9e24e687c49e91","0x24199cba1d7b39e8c9dcc7f2555aa241ac9979fc5b0997698268871e9c702c98","0x1029fc6438eb776df7f91f4fbf79f1bc63063ce6282236d893650afa11193462","0x2c00500eafa5e794d60966d63a6304856d1c75bf42e17e64564188860de7630c","0x1260ce1c7a0824573f1c11a315fe821fa1420cdaa71c84630fcd0da8cb7758c1","0x10477f19ef7d48d047991c1a08878157a32d801cfc03b9b33cd2827bebe5adab"]
genParam: ["499945600000000020"]
Public-private keypairs for ring signatures
Keys Renters:
Public Key 0 77245674093889155970373505543614903971732045654794909917151221370053914900338
Private Key 15503954952067353837948853571939562548426309627606669652789456810538321668040
Public Key 1 72740838634912828855317044295832479825501350919104416969956529910627795410712
Private Key 12505219808855213085683063035777871359138655900703449006588487410278380893729
Public Key 2 76678214364891388421136727165541942521898857342506846361028805086998486309756
Private Key 11771571594559619964917709588710451096953430103139759658099233191355144612990
Public Key 3 79454007464652022782037240429727024596381468485742851458704477323907944271256
Private Key 15354696823123882655972281072144674267824288894471213966252282590498953269578
Public Key 4 10818708965690552212998633437205711753589606763670736305422349074500029007720
Private Key 1812797179663212392961267846218289556001618056253376014997782356908907429636
Public Key 5 6793889316351833212090076455430914626948233982609784613031805756202811791161
Private Key 11893793098165319578120138889065557138021909058729917734564517328537512890396
Public Key 6 19332574970140186878973007082328280512196267378277956936795789937619792989794
Private Key 10046396460048726849117866904894930041732389998433331953001488364161059085982
Public Key 7 13688947359629206740639307603330152715619727523148188810716519112808370272770
Private Key 7582735509886126439307609355355398049689948818509474298256694354965489754355
"77245674093889155970373505543614903971732045654794909917151221370053914900338","72740838634912828855317044295832479825501350919104416969956529910627795410712","76678214364891388421136727165541942521898857342506846361028805086998486309756","79454007464652022782037240429727024596381468485742851458704477323907944271256","10818708965690552212998633437205711753589606763670736305422349074500029007720","6793889316351833212090076455430914626948233982609784613031805756202811791161","19332574970140186878973007082328280512196267378277956936795789937619792989794","13688947359629206740639307603330152715619727523148188810716519112808370272770"]
Keys Car:
Public Key 0 6766165289277132754176018414750371406583415654617289367869369061069346903178
Private Key 3767873970522712098334547636063196954766828920744357870962500635309137868638
Public Key 1 63809899458837542097894285532199791895605805156092219564422500547555164505071
Private Key 4782276968435475753952867438980129679544733270874689926199165543082974710089
Public Key 2 1690539678898991298465887553164075515520111867293693240239963842170083036534
Private Key 5357488562015654467573372775257929390222188706702967268690217400231361394117
Public Key 3 20688047586309407113606161331108555958166147724077007671814236383378517912922
Private Key 20062458112408181280031736639350660984513820364100876438020776969694170899925
Public Key 4 6664461555426801759971585593319345549665764840476363918461518461651987847292
Private Key 7514261015473079187540662745227348246197895855949347542369157369533087792756
Public Key 5 14464844469260044186867311923247371821565009123944784402008078086714886812070
Private Key 5624158476142704997916181182789865415782301468419350419730456848493535277042
Public Key 6 77445051575567497149676992752398537143202547327858163523568524666707542853372
Private Key 636065277186949802145281996447429411109021080234296283819705475526617714683
Public Key 7 69905991548418450883743993554281900130918678021963683069785988301588398291880"
Private Key 5334938674846591277151827137001072340814608993529387552291419473996704696174