The field of lightweight cryptography has been gaining popularity as traditional cryptographic techniques are challenging to implement in resource-limited environments. This research paper presents an approach to utilizing the ESP32 microcontroller as a hardware platform to implement a lightweight cryptographic algorithm. Our approach employs KATAN32, the smallest block cipher of the KATAN family, with an 80-bit key and 32-bit blocks. The algorithm requires less computational power as it employs an 80 unsigned 64-bit integer key for encrypting and decrypting data. During encryption, a data array is passed into the encryption function with a key, which is then used to fill a buffer with an encrypted array. Similarly, the decryption function utilizes a buffer to fill an array of original data in 32 unsigned 64-bit integers. This study also investigates the optimal implementation of cryptography block ciphers, benchmarking performance against various metrics, including memory requirements (RAM), throughput, power consumption, and security. Our implementation demonstrates that data can be securely transmitted end-to-end with good throughput and low power consumption.
翻译:由于传统的加密技术在资源有限的环境中难以实施,轻量级加密技术领域越来越受欢迎。本研究论文展示了利用ESP32微控制器作为硬件平台实施轻量级加密算法的方法。我们的方法是使用KATAN32, KATAN家庭最小的区块密码,有80位键和32位位方块。算法要求的计算能力较少,因为它在加密和解密数据时使用了80个未签名的64位整键。在加密过程中,数据阵列被用钥匙传送到加密功能中,然后用加密阵列填充缓冲。同样,解密功能利用缓冲来填补32个未签名的64位方位整数中的原始数据阵列。这项研究还调查了加密区块密码的最佳应用,根据各种指标,包括内存要求(RAM)、吞吐量、电耗能消耗和安全性,将数据安全地传输到终端,同时使用良好的吞吐量和低功率消耗。</s>