Enumeration: STORAGE_TYPE
Enum representing cryptographic storage types for sensitive data.
Security Level Categories:
- High Security (Biometric Authentication Required):
- AES_GCM: For sensitive local data (passwords, personal info)
- RSA: For asymmetric operations (signatures, key exchange)
- Medium Security (No Authentication):
- AES_GCM_NO_AUTH: For app-level secrets and cached data
- Legacy/Deprecated:
- AES_CBC: Outdated, use AES_GCM_NO_AUTH instead
- FB: Archived Facebook Conceal implementation
Platform
Android
Enumeration Members
AES
AES:
"KeystoreAES"
Encryptions without human interaction.
Deprecated
Use AES_GCM_NO_AUTH instead.
Defined in
AES_CBC
AES_CBC:
"KeystoreAESCBC"
AES encryption in CBC (Cipher Block Chaining) mode. Provides data confidentiality without authentication.
Deprecated
Use AES_GCM_NO_AUTH instead.
Defined in
AES_GCM
AES_GCM:
"KeystoreAESGCM"
AES-GCM encryption with biometric authentication. Requires user authentication for both encryption and decryption operations.
Defined in
AES_GCM_NO_AUTH
AES_GCM_NO_AUTH:
"KeystoreAESGCM_NoAuth"
AES encryption in GCM (Galois/Counter Mode). Provides both data confidentiality and authentication.
Defined in
FB
FB:
"FacebookConceal"
Facebook compatibility cipher.
Deprecated
Facebook Conceal was deprecated and archived in Mar 3, 2020. https://github.com/facebookarchive/conceal
Defined in
RSA
RSA:
"KeystoreRSAECB"
RSA encryption with biometric authentication. Uses asymmetric encryption and requires biometric authentication.