The application relates to an
optical encryption method and an
optical encryption system, the method comprising: loading spatial
plaintext information to be encrypted into an
optical path to obtain an
optical beam carrying the spatial
plaintext information; modulating the
optical beam into a time-varying
optical field through a complex medium, wherein the dynamic characteristics of the complex medium vary with time and repeat in a fixed period, and the periodic variation of the
optical field is determined by the fixed period; collecting information of the
optical field in a preset time period within the fixed period as time-domain
ciphertext data. In the
optical encryption, an additional key control parameter, i.e. the optical field information in a
specific time period within the selection period, is introduced to generate the
ciphertext, the generation of the
ciphertext becomes more complex and unpredictable, the
key space is expanded, the leakage of the periodic characteristics of the optical field is avoided, and the security of the
system is significantly enhanced. Meanwhile, since the
encryption no longer depends on complete
time sequence data, the requirement for the hardware performance is reduced, the implementation cost is further reduced, and the
encryption efficiency is improved.