Real-Time Face Recognition System with Enhanced Security Using Cryptographic Hash-Based Encrypted Embedding Matching
Abstract
This study presents the development and evaluation of a secure and efficient real-time face recognition system for school attendance, integrating cancelable biometrics with cryptographic hashing. A total of 115 face samples were collected from students and teachers under diverse lighting, pose, and expression conditions. Images were pre-processed using Contrast Limited Adaptive Histogram Equalization (CLAHE) and Gamma Correction, followed by feature extraction with ResNet-128D, key-based random projection, binarization into 128-bit templates, and SHA-256 hashing. Evaluation results demonstrated an accuracy of 86.09%, precision of 100%, recall of 86.09%, and F1-score of 92.52%, with an average latency of 281.71 ms, remaining well below the operational threshold of 500 ms. Offline pre-processing improved the F1-Score by 7.50% on large datasets and 7.28% on smaller datasets without sacrificing processing speed. From a security perspective, the system achieved zero false acceptances (FAR = 0%) and allowed template regeneration when compromised, reinforcing privacy preservation. These findings validate the feasibility of combining cancelable biometrics with cryptographic hashing to balance accuracy, speed, and security in practical attendance systems. The research underscores its broader applicability to access control and public security, while future work should emphasize adaptive pre-processing, diverse hardware validation, and hardware acceleration for robust real-time deployment.
Article Discovery & Scholarly Lookup
DOIAuthor Biographies
Informatics Engineering Study Program, Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika, East Jakarta City, Special Capital Region of Jakarta, Indonesia.
Informatics Engineering Study Program, Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika, East Jakarta City, Special Capital Region of Jakarta, Indonesia.
Informatics Engineering Study Program, Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika, East Jakarta City, Special Capital Region of Jakarta, Indonesia.
How to Cite
License & Copyright

This work is licensed under a Creative Commons Attribution 4.0 International License.
This is an open-access journal. All articles are distributed under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Creative Commons Attribution 4.0 International (CC BY 4.0)Under this license, you are free to:
- Share: copy, distribute, and transmit the work in any medium or format.
- Adapt: remix, transform, and build upon the work for any purpose, even commercially.
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.
Copyright and Retention Copyright & Retention Authors retain copyright without restrictions and grant this journal the right of first publication under an open-access model. The journal retains non-exclusive publishing rights for archiving, indexing, and scholarly dissemination.References
Total: 16 References- Abdullahi, S. M., Sun, S., Wang, B., Wei, N., & Wang, H. (2024). Biometric template attacks and recent protection mechanisms: A survey. Information Fusion, 103, 102144. https://doi.org/10.1016/j.inffus.2023.102144
- Ali, A., Migliorati, A., Bianchi, T., & Magli, E. (2024). Cancelable templates for secure face verification based on deep learning and random projections. EURASIP Journal on Information Security, 2024(1). https://doi.org/10.1186/s13635-023-00147-y
- Bai, J., et al. (2023). CryptoMask: Privacy-preserving face recognition.
- Banerjee, S., Jain, A., Hegde, C., & Memon, N. (2025). FaceCloak: Learning to protect face templates. IEEE Transactions on Information Forensics and Security.
- Bharat, Y., Kaushik, A. R., Ross, A., Boddeti, V., & Ratha, N. (2024). Enhancing privacy in face analytics using fully homomorphic encryption. IEEE Transactions on Information Forensics and Security.
Similar Articles
Explore related articles published in this journal.
Enhancing Real-Time Face Recognition Robustness against Low Lighting through Dynamic Feature Enhancement
Mobile-Based Real-Time Ornamental Rose Classification System Using YOLOv8 Algorithm on Digital Imagery
Implementation of Defense In Depth and IAM Best Practices Based on Segmented VPC Architecture Using Amazon Web Services (AWS) for Small Business Network Security
Implementation of Edge Computing for Optimizing Sensor Data Collection in Smart Buildings
Design of a Web-Based Incoming Goods Information System to Support Logistics Performance at Bintang Technic
Most read articles by the same author(s)
Explore other articles by these authors.