Android

Android Security and Privacy

Android security and privacy: encryption, keystore, biometrics, SSL/TLS, obfuscation, and GDPR

18 면접 질문·
Senior
1

What's the difference between ProGuard and R8?

답변

R8 is the successor to ProGuard, integrated directly into the Android Gradle Plugin (from version 3.4+). It combines shrinking, obfuscation, and optimization in a single step, making it faster and more efficient. R8 is backward-compatible with ProGuard rules and enabled by default for release builds.

2

What does code obfuscation do?

답변

Code obfuscation renames classes, methods, and fields with short, meaningless names (a, b, c) to make reverse engineering significantly harder. It also helps reduce the APK size. It is configured through the proguard-rules.pro file.

3

What is the Android Keystore System?

답변

The Android Keystore System securely stores cryptographic keys, either in hardware (TEE or Secure Element) or in a software container depending on the device. Generated keys cannot be extracted, enhancing security. It is used via KeyStore.getInstance("AndroidKeyStore") with KeyGenerator or KeyPairGenerator.

4

How to implement biometric authentication?

5

What is Certificate Pinning?

+15 면접 질문

다음 면접을 위해 Android을 마스터하세요

모든 질문, flashcards, 기술 테스트, 코드 리뷰 연습, 면접 시뮬레이터에 접근하세요.

무료로 시작하기