Nowadays, all smartphones, laptops, and other communication devices connect to the cloud, making data accessible to everyone. The Internet of Things (IoT) network is a group of various devices interconnected over the internet that exchange data between themselves and other services. IoT has a wide application range from smart applications to a variety of industrial applications. Because nodes in an IoT network have limited resources, classical cryptography methods are costly and inefficient, so lightweight block ciphers are one of the most sophisticated ways to overcome security shortcomings in this environment. The result is a low bandwidth, reduced storage space, and shortened computation times due to the compression. Specifically, this paper discusses the performance of lightweight AES algorithms for encrypting and decrypting images in smart IoT devices.