Data security is crucial when interacting with internet-based networks,
clouds, servers, etc. In today’s world, the most prominent percentage of communication
is internet-based. Using sensors like temperature and soil moisture sensors, the
collected data is encrypted. The electronic gadgets transform the normal text into
unintelligible cipher text, which is then stored in the cloud at the transmitting end. The
AES128 key and hash code used on the transmitting side are used to decode data on the
receiving side. In this process, if any unauthorized person tries to hack the data, they
fail to get the original data since the data is in the form of cipher text. The application
of IoT and 5G communication technologies introduces smart farming ecosystems to a
wide range of cyber security risks and vulnerabilities. This type of cyberattack will
cause economic disruption in nations with significant agricultural dependence. Hence,
there is a need for data security in smart farming. In this paper, an efficient and easy
way to encrypt the data using Cipher text is shown.
Keywords: Cipher text, IoT, Smart agriculture, ThingSpeak.