Implementasi Kriptografi Hibrida Menggunakan Algoritma CHACHA20-POLY1305 dan CURVE25519 Pada Aplikasi Berbagi File Berbasis Web
DOI:
https://doi.org/10.14421/csecurity.2026.9.2.6278Abstract
Keamanan data merupakan aspek krusial dalam pertukaran informasi digital, di mana pemenuhan standar CIA Triad (Confidentiality, Integrity, Availability) menjadi syarat mutlak pada aplikasi berbasis web. Penelitian ini bertujuan untuk mengimplementasikan sistem pengamanan file menggunakan skema kriptografi hibrida. Algoritma ChaCha20-Poly1305 diterapkan untuk menjamin kerahasiaan dan integritas data, algoritma Curve25519 digunakan untuk mekanisme pertukaran kunci yang aman, serta penerapan arsitektur Split-Storage untuk memastikan efisiensi penyimpanan dan ketersediaan data melalui pemisahan berkas fisik terenkripsi dengan metadata penunjuk lokasi. Metode penelitian meliputi perancangan, implementasi, dan pengujian sistem terhadap 40 sampel file dengan variasi format (DOCX, PDF, PNG, JPG). Pengujian dilakukan untuk mengukur validitas data, sensitivitas terhadap modifikasi, dan kinerja sistem. Hasil penelitian menunjukkan bahwa sistem mampu menjamin kerahasiaan dengan mengubah file menjadi format acak tak terbaca, serta menjamin integritas melalui fitur Poly1305 yang mendeteksi modifikasi sekecil 1 byte dan menolak mendekripsi file yang korup. Dari sisi ketersediaan (availability), arsitektur Split-Storage menjamin keandalan akses berkas berkelanjutan, sementara optimasi performa menghasilkan waktu proses rata-rata di bawah 0,1 detik dengan efisiensi penyimpanan yang optimal melalui manajemen metadata terpisah yang menghasilkan overhead konstan sebesar 16 bytes. Kesimpulan dari penelitian ini adalah kombinasi algoritma ChaCha20-Poly1305 dan Curve25519 berhasil memberikan perlindungan data yang komprehensif. Sistem terbukti handal dalam menjaga kerahasiaan dari pencurian, integritas dari manipulasi, serta ketersediaan akses data yang tangguh disertai performa eksekusi yang responsif.
Kata kunci: Kriptografi Hibrida, Keamanan File, Curve25519, ChaCha20-Poly1305
----------------------------------------------------------------------
Implementation Of Hybrid Cryptography Using CHACHA20-POLY1305 and CURVE25519 For Web-Based File Sharing
Data security is a crucial aspect of digital information exchange, where compliance with the CIA Triad standard (Confidentiality, Integrity, Availability) is an absolute requirement for web-based applications. This research aims to implement a file security system using a hybrid cryptography scheme. The ChaCha20-Poly1305 algorithm is applied to ensure data confidentiality and integrity, the Curve25519 algorithm is used for a secure key exchange mechanism, and a Split-Storage architecture is implemented to ensure storage efficiency and data availability by separating encrypted physical files from their location-pointing metadata. The research method encompasses the design, implementation, and testing of the system on 40 file samples with varying formats (DOCX, PDF, PNG, JPG). Testing was conducted to measure data validity, sensitivity to modification, and system performance. The results show that the system is able to ensure confidentiality by transforming files into an unreadable random format, as well as ensure integrity through the Poly1305 feature, which detects modifications as small as 1 byte and rejects decryption of corrupted files. In terms of availability, the Split-Storage architecture ensures reliable, continuous file access, while performance optimization yields an average processing time of under 0.1 seconds with optimal storage efficiency achieved through separate metadata management, resulting in a constant overhead of 16 bytes. This research concludes that the combination of the ChaCha20-Poly1305 and Curve25519 algorithms successfully provides comprehensive data protection. The system has proven reliable in safeguarding confidentiality from theft, integrity from manipulation, and robust data availability, accompanied by responsive execution performance.
Keywords: Hybrid Cryptography, File Security, Curve25519, ChaCha20-Poly1305.
References
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Ghifari Faturrahman, Lilik Widyawati, Khairan Marzuki, Husain Husain, Ondi Asroni

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
You are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
Under the following terms:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.

