Skip to main content
. 2019 Feb 25;19(4):965. doi: 10.3390/s19040965
Algorithm 1. Symmetric key generation at RSUx.
Input: Initial Key Km, random seed for other RSU
1. Kauthj = Km
2. rx = GenerateRandomSeed()
 3. for all RSU in the network
 4.  ri = RecievingRandomSeed from RSU i
 5.  StoreRandomSeed(ri, i)
 6. end
7. Ksj=[Kauthj,rx]
 8. for all RSU in the network
 9.   Ksi=[Kauthj,ri];
 10.   StoreSymmetricKey(Ksi, i);
 11. end
 12. Kauthj+1=Hash[Kauthj];
 13. if (timeout)
 14.   Go to step 7