[Paper Review] An empirical study of the power consumption of cryptographic primitives in Android
This paper empirically evaluates the energy consumption of cryptographic primitives on Android devices using an energy profiling tool based on PowerTutor. It reveals that energy efficiency varies significantly across algorithms, security providers, and configurations, highlighting the need for developers to make informed, data-driven choices to optimize battery life and reduce environmental impact.
Green computing has become a growing trend in computing, pursuing the goal of helping software developers to pay more attention to produce energy-effiency software. This is specially relevant for battery-powered mobile applications, where minimizing the energy consumption is required to both mitigate the greenhouse effect and to extend the battery lifetime. In this paper we analyze the energy consumption of cryptographic primitives in Android devices. Our ultimate goal is to help Android application developers, especially those who are not experts on security, to choose the most energy efficient cryptographic algorithms considering different security providers and different security transformations. We have performed our experiments using an energy profiling tool based on the PowerTutor application. Our results show that this type of energy efficiency studies are necessary, because selecting the most energy efficient configuration depends on many factors, and some of the conclusions are not so obvious.
Motivation & Objective
- To assess the energy consumption of cryptographic primitives on Android devices to guide energy-efficient development.
- To identify the most energy-efficient configurations among different cryptographic algorithms and security providers.
- To support non-security-expert Android developers in selecting optimal cryptographic solutions based on real-world energy profiling.
- To demonstrate that energy efficiency is highly dependent on implementation details, device models, and runtime conditions.
Proposed method
- The study uses an energy profiling tool derived from the PowerTutor application to measure real-time power consumption on Android devices.
- Experiments are conducted across multiple cryptographic operations, including encryption, decryption, hashing, and key generation.
- Various security providers (e.g., Bouncy Castle, OpenJDK) and algorithm configurations are tested under controlled conditions.
- Energy measurements are collected across different Android devices and configurations to assess variability and consistency.
- Statistical analysis is applied to compare energy consumption across different cryptographic primitives and implementations.
Experimental results
Research questions
- RQ1Which cryptographic algorithms exhibit the lowest energy consumption on Android devices?
- RQ2How does the choice of security provider affect the energy efficiency of cryptographic operations?
- RQ3How do different security transformations (e.g., key sizes, modes) influence energy usage?
- RQ4To what extent do device-specific factors and runtime conditions affect energy consumption?
Key findings
- Energy consumption varies significantly across cryptographic algorithms, with some configurations consuming up to several times more energy than others.
- The choice of security provider has a measurable impact on energy efficiency, with some providers offering more optimized implementations.
- Larger key sizes and complex modes of operation generally lead to higher energy consumption, but the trade-off is not always linear.
- Some of the most efficient configurations are not intuitively obvious, highlighting the need for empirical evaluation.
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.