[Paper Review] On the Feasibility of Attribute-Based Encryption on Smartphone Devices
This paper demonstrates the feasibility of implementing Attribute-Based Encryption (ABE) on Android smartphones through AndrABEn, a C-language library using the Android NDK. It achieves up to 10x better performance and significantly lower energy consumption than prior Java-based implementations, proving ABE is viable for mobile applications despite earlier claims of infeasibility.
Attribute-Based Encryption (ABE) is a powerful cryptographic tool that allows fine-grained access control over data. Due to its features, ABE has been adopted in several applications, such as encrypted storage or access control systems. Recently, researchers argued about the non acceptable performance of ABE when implemented on mobile devices. Indeed, the non feasibility of ABE on mobile devices would hinder the deployment of novel protocols and services--that could instead exploit the full potential of such devices. However, we believe the conclusion of non usability was driven by a not-very efficient implementation. In this paper, we want to shine a light on this concern by studying the feasibility of applying ABE on smartphone devices. In particular, we implemented AndrABEn, an ABE library for Android operating system. Our library is written in the C language and implements two main ABE schemes: Ciphertext-Policy Attribute-Based Encryption, and Key- Policy Attribute-Based Encryption. We also run a thorough set of experimental evaluation for AndrABEn, and compare it with the current state-of-the-art (considering the same experimental setting). The results confirm the possibility to effectively use ABE on smartphone devices, requiring an acceptable amount of resources in terms of computations and energy consumption. Since the current state-of-the-art claims the non feasibility of ABE on mobile devices, we believe that our study (together with the AndrABEn library that we made available online) is a key result that will pave the way for researchers and developers to design and implement novel protocols and applications for mobile devices.
Motivation & Objective
- To challenge the prevailing claim that ABE is infeasible on mobile devices due to performance limitations.
- To implement and evaluate a high-performance ABE library tailored for Android smartphones.
- To compare the performance and energy efficiency of a C-based ABE implementation against existing Java-based solutions under identical conditions.
- To provide a freely available, production-ready ABE library (AndrABEn) to enable future research and application development in mobile privacy and access control.
Proposed method
- Implemented CP-ABE and KP-ABE schemes in C using the Android Native Development Kit (NDK) to achieve low-level system performance.
- Designed AndrABEn as a lightweight, portable C library for Android, optimized for mobile CPU and memory constraints.
- Conducted a controlled experimental evaluation comparing AndrABEn with the Java-based implementation from Wang et al. (2014) under identical settings.
- Measured execution time, memory usage, and energy consumption for key ABE operations: key generation, encryption, and decryption.
- Re-implemented the Java-based solution from Wang et al. for validation, ensuring fair comparison despite source code unavailability.
- Used a Samsung Galaxy Nexus smartphone as the test device with 1 GB RAM and standard security parameters (128-bit).
Experimental results
Research questions
- RQ1Can Attribute-Based Encryption be efficiently implemented on modern Android smartphones, contrary to prior claims of infeasibility?
- RQ2How does a low-level C implementation of ABE compare to high-level Java-based implementations in terms of performance and energy efficiency?
- RQ3What are the actual execution times and energy costs of ABE operations on a real-world smartphone device?
- RQ4Can a C-based ABE library significantly outperform existing Java-based implementations in resource-constrained mobile environments?
Key findings
- AndrABEn reduced CP-ABE key generation time from ~200 seconds (Java) to under 30 seconds on a Samsung Galaxy Nexus.
- CP-ABE encryption and decryption were completed in under 30 seconds and 20 seconds, respectively, compared to ~70 and ~80 seconds in the Java-based implementation.
- KP-ABE operations in AndrABEn required only 3 seconds for key generation and encryption, and 12 seconds for decryption—significantly faster than the 90–110 seconds reported in the prior work.
- Energy consumption for CP-ABE operations was under 5 J per operation in AndrABEn, compared to 70–100 J for key generation in the Java-based implementation.
- The re-implemented Java version of CP-ABE took ~360 seconds for key generation (vs. ~25 seconds in AndrABEn), confirming the performance gap.
- AndrABEn demonstrated a consistent performance advantage across all operations, with execution time, memory, and CPU usage significantly reduced compared to the prior state-of-the-art.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.