Attribute-based encryption (ABE) comprises a set of one-to-many encryption schemes that allow the encryption and decryption of data by associating it with access policies and attributes. Therefore, it is an asymmetric encryption scheme, and its computational requirements limit its deployment in IoT devices. There are different types of ABE and many schemes within each type. However, there is no consensus on the default library for ABE, and those that exist implement different schemes. Developers, therefore, face the challenge of balancing efficiency and security by choosing the suitable library for their projects. This paper studies eleven ABE libraries, analyzing their main features, the mathematical libraries used, and the ABE schemes they provide. The paper also presents an experimental analysis of the four libraries which are still maintained and identifies some of the insecure ABE schemes they implement. In this experimental analysis, we implement the schemes offered by these libraries, measuring their execution times on architectures with different capabilities, i.e., ARMv6 and ARMv8. The experiments provide developers with the necessary information to choose the most suitable library for their projects, according to objective and well-defined criteria.
翻译:基于属性的加密(ABE)由一组一对一的加密计划组成,通过将数据与访问政策和属性挂钩,允许对数据进行加密和解密。因此,这是一个不对称的加密计划,其计算要求限制了它在IoT设备中的部署。有不同类型的ABE和许多类型的计划。然而,对于ABE的默认图书馆以及实施不同计划的图书馆,没有达成共识。因此,开发者通过选择适合其项目的适当图书馆,面临着平衡效率和安全的挑战。本文研究了11个ABE图书馆,分析了它们的主要特征、所使用的数学图书馆以及它们所提供的ABE计划。本文还介绍了对四个图书馆的实验性分析,这些图书馆仍然维持着,并确定了它们执行的一些不安全的ABE计划。在这项实验性分析中,我们执行了这些图书馆所提供的计划,根据不同能力的建筑,即ARMv6和ARMv8测量其执行时间。实验为开发者提供了必要的信息,以便按照客观和明确的标准选择其项目最合适的图书馆。