Analysis of ECG Image File Encryption using ECDH and AES-GCM Algorithm
Prihatin Oktivasari, Maria Agustin, Rahmat Esa Mohammad Akbar, Asep Kurniawan, Ayu Rosyida Zain, Fachroni Arbi Murad · 2022
Image data is used in various fields, including the health sector. One of the image data in the health sector is an electrocardiogram (ECG). The ECG contains the identifying information of a person which must be guarded and secured. ECG image data security can be done by encrypting image data using encryption algorithms. The encryption algorithms used in this thesis are ECDH and AES-GCM. ECDH is used to generate key pairs which are then used as keys for AES-GCM encryption and decryption. The encryption and decryption process are carried out in the python programming language. The results of the encryption time and decryption time increase because of the dimensions and size of the ECG image file. The nonce value and authentication tag are checked to be able to perform the decryption process. The histogram test results prove the uniformity of pixels in the encrypted ECG image file. PSNR and SSIM test results prove the difference between the initial and encrypted ECG image files. The results of the NIST Statistical Test Suite test prove that the algorithm used produces random output so that it can be used to secure ECG image files.