การออกแบบและพัฒนาระบบการสื่อสารข้อมูลแบบรักษาความเป็นส่วนตัวสำหรับระบบเพาะเลี้ยงปูนาแบบน้ำหมุนเวียนโดยใช้การเข้ารหัส ChaCha20
Keywords:
Data Encryption, Internet of Things, Recirculating Aquaculture Systems, Wireless sensor, การเข้ารหัสข้อมูล, อินเทอร์เน็ตทุกสรรพสิ่ง, ระบบเพาะเลี้ยงสัตว์น้ำแบบหมุนเวียน, เซนเซอร์ไร้สายAbstract
This research is a design and development study aimed at (1) designing and developing a privacy-preserving data communication system for recirculating rice field crab farming using Internet of Things (IoT) technology integrated with the ChaCha20 encryption algorithm, and (2) comparing the performance of ChaCha20 with conventional encryption methods in terms of processing time, resource utilization, and data security. The samples used in this study consisted of sensor data collected from a recirculating aquaculture system, including water temperature, pH, dissolved oxygen (DO), and turbidity. An ESP32 microcontroller board was employed to transmit data via a Wi-Fi network to a cloud server. The ChaCha20 algorithm was implemented to encrypt data prior to transmission. The sensor data were collected and stored in real time, followed by data analysis and evaluation of encryption performance. The results showed that the proposed system was able to securely encrypt and transmit sensor data. ChaCha20 achieved an average encryption time of 1.25 milliseconds per packet, which was 32.4% faster than AES-256. In addition, memory consumption was reduced by 18.7% compared with AES-256. These findings indicate that ChaCha20 is a suitable encryption algorithm for privacy-preserving IoT communication, particularly for resource-constrained devices with limited energy and computational capabilities.