This shows you the differences between two versions of the page.
smd:laboratoare:08 [2021/05/13 19:50] adriana.draghici [Task 3 - Generate and Verify HMAC (4p)] |
smd:laboratoare:08 [2021/05/13 19:51] (current) adriana.draghici [Lab 8 - Cryptography 2] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Lab 8 - Cryptography 2 ====== | ====== Lab 8 - Cryptography 2 ====== | ||
- | <note important>This page hasn't been updated yet for the 2021 semester and may contain outdated information</note> | ||
===== Objectives ===== | ===== Objectives ===== | ||
* Protect the app's APK using signing | * Protect the app's APK using signing | ||
* Use Android's KeyStore to generate and store cryptographic keys and use them to sign an app | * Use Android's KeyStore to generate and store cryptographic keys and use them to sign an app | ||
- | * Verify message integrity using HMAC(hash-based message authentication code) | + | * Verify message integrity using HMAC (hash-based message authentication code) |
* generate HMAC to sign a message | * generate HMAC to sign a message | ||
* verify HMAC to check that the received message was not modified | * verify HMAC to check that the received message was not modified |