Research Article

Batch Differential Desensitization and Visualization of Medical Images Based on OCR and FF3/SHA-256

Yuning Wang*
School of Management and Economics, Tianjin University, Tianjin, China, 300072

* Corresponding author: [email protected]

Abstract

In the medical field, data security is paramount. Medical images typically contain a wealth of patient personal information, such as names, ID numbers, and contact information, as well as sensitive medical data, such as diagnostic results. This data faces the risk of leakage during storage, transmission, and sharing. Once privacy information is leaked, it not only infringes on patient privacy but can also lead to serious legal and social problems. This paper primarily uses literature analysis, comparative analysis, and experimental methods to implement an automated batch classified desensitization and decryption system for medical images based on Optical Character Recognition (OCR) technology, a reversible encryption algorithm (FPE), and a hash function (SHA-256). This system applies different encryption techniques based on the intended use of the identified information, achieving partial reversibility so that data can be recovered for specific medical procedures under authorized scenarios. This effectively protects patient privacy, while automated batch processing improves the efficiency of medical staff and facilitates data sharing among researchers.

Keywords: Medical Imaging; Privacy Protection; Optical Character Recognition; Encryption Algorithm
Published: December 18, 2025
DOI: 10.54254/2755-2721/2026.TJ30618
Volume: ACE Vol.211
pp. 112-121
Download PDF

References

  1. Li Hongliang, Liu Yuliang, Liao Wenhui, et al. Optical character recognition in the era of large-scale models: current status and prospects [J].Journal of Image and Graphics, 2025, 30(06): 2023-2050.
  2. Zheng Hongkun. Application and Practice of PaddleOCR-based Image Recognition Technology in Epidemic Prevention and Control [J].Digital Technology & Application, 2022, 40(12): 117-119.DOI: 10.19695/j.cnki.cn12-1369.2022.12.37.
  3. Zhu Hongcan, Chen Jili, Zheng Kaidi, et al. A Study on Users' Privacy Preferences for Digital Medical and Health Information from the Perspective of Sensitivity—Based on Discrete Choice Experiments [J].Scientific Information Research, 2025, 7(04): 1-12.DOI: 10.19809/j.cnki.kjqbyj.2025.04.001.
  4. Zhang Xuewei. Research and Application of Identity-Based Format-Preserving Encryption Schemes [D].Northwest Normal University, 2020.DOI: 10.27410/d.cnki.gxbfu.2020.001893.
  5. Gao Lixia. Application and Reflections on ID Card Number Verification in Auditing [J].Internal Auditing in China, 2017, (06): 72-76.
  6. Li Ni. Research and FPGA Implementation of MD5 and SHA-256 Algorithms [D].Hunan University, 2021.DOI: 10.27135/d.cnki.ghudu.2021.001027.
  7. Yang Yuguang, Wang Jiawei. A Quantum Logistic Mapping Image Encryption Algorithm Based on SHA-256 and Arnold Mapping [J].Journal of Anhui University(Natural Sciences), 2024, 48(01): 35-42.
  8. Zhang Jingchen, Wang Jiayang, Zhao Yuanzhi, et al. A Custom Medical Image De-identification System Based on Data Privacy [J].Frontiers of Data and Computing, 2025, 7(03): 122-135.