The invention discloses a
password security enhancement method based on secret communication, and particularly relates to the technical field of
password security. Transmission and information negotiation of a
quantum state are realized by constructing a
quantum communication channel and a classical
communication channel; after the photons are coded and transmitted, the time
delay condition of the photons is analyzed, if the
delay is abnormal, a
pulse light source simulates
photon signals, the trigger probability of the
detector is recorded, the time window deviation is judged,
delay data and the trigger probability deviation are comprehensively evaluated, the security
vulnerability risk caused by non-ideality of the
photon detector is quantified, and the security
vulnerability risk is evaluated. The method comprises the steps of dividing risks into a high level, a
middle level and a low level, implementing corresponding management, dynamically adjusting a
compression ratio of privacy amplification by utilizing
fuzzy logic according to the middle
risk level in combination with a preliminary key
bit error rate and a
detector risk value, strengthening the anti-
eavesdropping capability of a key, and improving the security of a
quantum key distribution system through real-time monitoring and dynamic adjustment. The time migration
attack is defended, and the long-term security of encrypted communication is guaranteed.