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 | |
Algorithm 1 | |
1. | Initialize |
2. | Encrypt |
3. | |
4. | Increment |
5. | Repeat 2–3 for all |
6. | Initialize |
7. | Encrypt |
8. | |
9. | Repeat for all |
10. | |
11. Return | |
Sharing content requires targeting cookies to be enabled. Please update your cookie preferences to use this feature.