MentalDiary: Development and Evaluation of a Cross-Platform Diary Integrating Client-Side Encryption and Guided Reflection
DOI:
https://doi.org/10.29408/edumatic.v10i3.37235Keywords:
client-side encryption, guided reflection, mental health diary, software engineering, web–AndroidAbstract
Digital diaries containing sensitive personal narratives require confidentiality across storage, synchronization, recovery, and session transitions. This study developed and evaluated MentalDiary, a cross-platform web–Android diary integrating guided reflection with client-side encryption. A requirement-led, threat-informed software engineering case study linked design requirements to acceptance criteria, automated regression tests, and descriptive performance measurements using synthetic data. The implementation used AES-256-GCM, separate data and key encryption keys, encrypted drafts, backup re-encryption, and session-epoch controls. The final regression run passed all 28 automated tests, covering cryptographic operations, authorization, draft handling, recovery, revision conflicts, and asynchronous sessions. Across seven API conditions, all 2,856 requests succeeded; median creation latency increased from 5.70 ms at concurrency 1 to 81.45 ms at concurrency 32. We also verified five biometric and session scenarios on one Android 15 device. These findings demonstrate technical feasibility and selected security-related behaviors under the evaluated conditions. The contribution is a traceable integration of guided-writing states, key-lifecycle decisions, and verifiable failure handling, rather than a new cryptographic method. Independent security assurance, user acceptance, and clinical benefits remain unestablished.
References
Alhammad, N., Alajlani, M., Abd-alrazaq, A., Epiphaniou, G., & Arvanitis, T. (2024). Patients’ perspectives on the data confidentiality, privacy, and security of mHealth apps: Systematic review. Journal of Medical Internet Research, 26, e50715. https://doi.org/10.2196/50715
Ardalani, A., Antonucci, J., & Neamtiu, I. (2024). A study of personal information leaks in mobile medical, health, and fitness apps. IADIS International Journal on WWW/Internet, 22(2), 93–110. https://doi.org/10.33965/ijwi_2024220207
Bear, H. A., Ayala Nunes, L., Ramos, G., Manchanda, T., Fernandes, B., Chabursky, S., Walper, S., Watkins, E., & Fazel, M. (2024). The acceptability, engagement, and feasibility of mental health apps for marginalized and underserved young people: Systematic review and qualitative study. Journal of Medical Internet Research, 26, e48964. https://doi.org/10.2196/48964
Brown, K. H. (2023). Advanced Encryption Standard (AES). National Institute of Standards and Technology, Federal Information Processing Standards Publication (FIPS 197), US Department of Commerce, Updated: May, 9. https://doi.org/10.6028/NIST.FIPS.197-upd1
Catania, J., Beaver, S., Kamath, R. S., Worthington, E., Lu, M., Gandhi, H., Waters, H. C., & Malone, D. C. (2024). Evaluation of digital mental health technologies in the United States: Systematic literature review and framework synthesis. JMIR Mental Health, 11, e57401. https://doi.org/10.2196/57401
Cevallos-Salas, D., Estrada-Jiménez, J., & Guamán, D. S. (2024). Application layer security for Internet communications: A comprehensive review, challenges, and future trends. Computers and Electrical Engineering, 119, 109498. https://doi.org/10.1016/j.compeleceng.2024.109498
Cheng, N., Lam, M. K., Grove, C., & Wachowicz, M. (2026). Factors influencing the initiation and continued engagement of digital mental health tools among adults: Theory of planned behavior–informed systematic review. JMIR Mental Health, 13, e88731. https://doi.org/10.2196/88731
Dworkin, M. J. (2007). Recommendation for block cipher modes of operation: Galois/Counter Mode (GCM) and GMAC. National Institute of Standards and Technology. https://doi.org/10.6028/NIST.SP.800-38d
Endriyani, S., & Susanti, E. (2024). Android-based application for depression, anxiety, and stress screening. Poltekita: Jurnal Ilmu Kesehatan, 17(4), 1486–1492. https://doi.org/10.33860/jik.v17i4.3169
Georgiou, D., Katsaounis, S., Tsanakas, P., Maglogiannis, I., & Gallos, P. (2025). Towards a secure cloud repository architecture for the continuous monitoring of patients with mental disorders. Frontiers in Digital Health, 7, 1567702. https://doi.org/10.3389/fdgth.2025.1567702
Hasibuan, M. I. Z., & Suendri, S. (2023). Implementasi Hybrid App Framework dalam Membangun Aplikasi Kesehatan Mental berbasis Mobile. Edumatic: Jurnal Pendidikan Informatika, 7(1), 141-150. https://doi.org/10.29408/edumatic.v7i1.17478
Hopkin, G., Coole, H., Edelmann, F., Ayiku, L., Branson, R., Campbell, P., Cooper, S., & Salmon, M. (2025). Toward a new conceptual framework for digital mental health technologies: Scoping review. JMIR Mental Health, 12, e63484. https://doi.org/10.2196/63484
Khoo, Y. X., Kang, R. M., Reynolds, T. L., & Mentis, H. M. (2024). “That’s kind of sus(picious)”: The comprehensiveness of mental health application users’ privacy and security concerns. Conference on Human Factors in Computing Systems - Proceedings, 1–16. https://doi.org/10.1145/3613904.3642705
Laure, T., Villegas Meija, C., Remmerswaal, D., Dulloo, D., Van der Hallen, R., Mayer, B., Littel, M., Dierckx, B., Legerstee, J. S., Engels, R. C. M. E., & Boffo, M. (2025). ROOM to Grow, a mobile well-being intervention for university students: Overview of the design process and outcomes. JMIR Formative Research, 9, e63325. https://doi.org/10.2196/63325
Lin, X., Wu, X., Zhu, Z., Chen, D., Li, H., & Lin, R. (2025). Quality and privacy policy compliance of mental health care apps in China: Cross-sectional evaluation study. Journal of Medical Internet Research, 27, e66762. https://doi.org/10.2196/66762
Nigata, Q. A. D., Wati, S. F. A., & Kartika, D. S. Y. (2024). MentalMate: Desain UI/UX Aplikasi Konsultasi Kesehatan Mental untuk Mahasiswa di Surabaya Menggunakan Metode User Centered Design. Jurnal Teknologi Informasi dan Terapan, 11(1), 49-56. https://doi.org/10.25047/jtit.v11i1.372
Pratama, M. F., Anggraini, N., Senubekti, M. A., & Usman, M. S. (2025). Aplikasi Mobile Programming Forum Kesehatan Mental dengan Framework Flutter Metode Prototyping. Jurnal Teknologi Sistem Informasi dan Sistem Komputer TGD, 8(2), 156-164. https://doi.org/10.53513/jsk.v8i2.11650
Priharsanto, A. S., & Ajhari, A. A. (2024). Pengembangan aplikasi kesehatan mental berbasis Kotlin: Studi kasus aplikasi HugMe. Jurnal Kajian Teknik Elektro, 9(2), 102–108. https://doi.org/10.52447/jkte.v9i2.7690
Rana, S., Parast, F. K., Kelly, B., Wang, Y., & Kent, K. B. (2023). A comprehensive survey of cryptography key management systems. Journal of Information Security and Applications, 78, 103607. https://doi.org/10.1016/j.jisa.2023.103607
Singh, M., Herpertz, J., Alon, N., Perret, S., Torous, J., & Kramer, D. (2025). Smartphone apps for cardiovascular and mental health care: Digital cross-sectional analysis. JMIR mHealth and uHealth, 13, e63642. https://doi.org/10.2196/63642
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Muhammad Farhan Habibi, Erik Iman Heri Ujianto

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All articles in this journal are the sole responsibility of the authors. Edumatic: Jurnal Pendidikan Informatika can be accessed free of charge, in accordance with the Creative Commons license used.

This work is licensed under a Lisensi a Creative Commons Attribution-ShareAlike 4.0 International License.


