Skip to content

bardss/AndroidSecurity

Repository files navigation

🛡️ Android Security

Repository to learn and play with Android security.

  • Min. SDK set to 21
  • UI built with Compose

Content

Currently:

  1. Lock screen required
  2. Legacy: Cryptography AES - encrypt and decrypt file - Android M+ (23+)
  3. Legacy: Cryptography AES - encrypt and decrypt text - Android M+ (23+)
  4. Legacy: Cryptography RSA - encrypt and decrypt text - Android Lollipop+ (21+)
  5. Jetpack Security (alpha): EncryptedSharedPreferences
  6. Jetpack Security (alpha): Cryptography AES - encrypt and decrypt file
  7. Block screen recording and screenshots

TODO:

  1. Hash functions
  2. Proguard
  3. Safe API keys
  4. Certificate pinning

Materials

Android

Artictles

Tools

General

Courses

FAQ

(Last updated 07.09.2023)

  1. What encryption to use with the Android version before Marshmellow (23)?

Or Jetpack Security library (but it is in alpha with issues) or cryptography with RSA.

  1. In AES - does the Initialization Vector need to be kept secret?

No. Source: https://support.google.com/faqs/answer/9450925?hl=en and https://stackoverflow.com/questions/9049789/aes-encryption-key-versus-iv

  1. In legacy cryptography - does an alias need to be kept secret?

No. Source: https://stackoverflow.com/questions/49420586/how-to-safely-save-alias-key-of-android-keystore

About

🛡️ Learning and experimenting with Android Security technologies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages