Table 4

Algorithm to encrypt and authenticate location data.

Algorithm 1

Input: Location data from Smartphone-based GPS sensor

1.

Initialize be + IV

2.

Encrypt be + IV using Ek

3.

PT⊕ Ek → CT

4.

Increment be; Incrementing block counter with new Initialization Vector

5.

Repeat 2–3 for all n blocks

6.

Initialize h; Initial state of the hash function

7.

Encrypt h using Ek; by forwarding 128 bits of zeros to AES

8.

CT⊕ h→CTh

9.

Repeat for all n+1

 

10. len(PT)+ h

 

11. Return CTh

Output: Encrypted and authenticated GPS data

or Create an Account

Close subscription notice
Close access options