Research Article
Traceable and Authenticated Key Negotiations via Blockchain for Vehicular Communications
Algorithm 1
System parameters are generated and uploaded into blockchain (type-I).
| Data: Null | (1) | while (time() − starttime) > T do | (2) | ⟵ random(); | (3) | while (!IsPrime()) do | (4) | ⟵ random(); | (5) | end | (6) | ⟵ random()%; | (7) | Transaction ⟵ code(, ); | (8) | starttime ⟵ time(); | (9) | end |
|