The document presents a study on utilizing microring resonators (MRR) to trap optical solitons for the generation of entangled photons in quantum key distribution systems. It discusses the simulation of localized spatial and temporal soliton pulses which enhance capacity and security in optical communication networks. The findings suggest that the proposed system effectively facilitates secure communications by employing chaotic signal generation and quantum key encryption.