Research Article

DAKEs: Decentralized Authenticated Key Exchange Protocols via Blockchain for Smart City

Table 1

The user data structure of the smart contracts.

Contract nameData typeName

Contract Iaddressuser
stringPK
stringID
uinttimestamp
mapping(address string)r
mapping(address string)sig

Contract IIaddressuser
stringPK
stringID
uinttimestamp
stringc

Contract IIIaddressuser
stringPK
stringID
uinttimestamp
stringtoken1
stringtoken2
stringc