Švarcmajer Miljenko, Köhler Mirko, Krpić Zdravko, Lukić Ivica
Faculty of Electrical Engineering, Computer Science and Information Technology Osijek, Osijek 31000, Croatia.
Sensors (Basel). 2025 Aug 26;25(17):5298. doi: 10.3390/s25175298.
The increasing demand for decentralized and user-controlled cryptographic key management in blockchain ecosystems has created interest in alternative entropy sources that do not rely on dedicated hardware. This study investigates whether commercial smartwatches can generate sufficient entropy for secure local key generation by utilizing their onboard sensors. An open-source Wear OS application was developed to harvest sensor data in two acquisition modes: still mode, where the device remains stationary, and shake mode, where data collection is triggered by motion events exceeding a predefined acceleration threshold. A total of 4800 still-mode and 4800 shake-mode samples were collected, each producing 11,400 bits of sensor-generated data. Entropy was evaluated using statistical metrics commonly employed in entropy analysis, including Shannon entropy, min-entropy, Markov dependency analysis, and compression-based redundancy estimation. The shake mode achieved Shannon entropy of 0.997 and min-entropy of 0.918, outperforming the still mode (0.991 and 0.851, respectively) and approaching the entropy levels of software-based random number generators. These results demonstrate that smartwatches can act as practical entropy sources for cryptographic applications, provided that appropriate post-processing, such as cryptographic hashing, is applied. The method offers a low-cost, transparent, and user-friendly alternative to specialized hardware wallets, aligning with the principles of decentralization and self-sovereign identity.
区块链生态系统中对去中心化和用户控制的加密密钥管理的需求不断增加,这引发了人们对不依赖专用硬件的替代熵源的兴趣。本研究调查了商业智能手表能否通过利用其板载传感器为安全的本地密钥生成产生足够的熵。开发了一个开源的Wear OS应用程序,以两种采集模式收集传感器数据:静止模式,即设备保持静止;摇晃模式,即数据收集由超过预定义加速度阈值的运动事件触发。总共收集了4800个静止模式样本和4800个摇晃模式样本,每个样本产生11400位的传感器生成数据。使用熵分析中常用的统计指标评估熵,包括香农熵、最小熵、马尔可夫依赖性分析和基于压缩的冗余估计。摇晃模式的香农熵为0.997,最小熵为0.918,优于静止模式(分别为0.991和0.851),并接近基于软件的随机数生成器的熵水平。这些结果表明,只要应用适当的后处理,如加密哈希,智能手表就可以作为加密应用的实用熵源。该方法为专用硬件钱包提供了一种低成本、透明且用户友好的替代方案,符合去中心化和自我主权身份的原则。