This document proposes a cryptography scheme for an optical switching system using picosecond and femtosecond soliton pulses. It involves using a system of microring resonators incorporating an add/drop filter. Optical solitons can be simulated and used to generate entangled photon pairs for single and multiple optical switching. Chaotic signals can be generated using the microring resonator system. Polarized photons are formed by incorporating a polarization control unit, allowing different time slot entangled photon pairs to be randomly formed. Simulation results show single soliton pulses with a full width at half maximum of 0.7 picoseconds and multi soliton pulses with a free spectral range of 0.6 nanoseconds and full width at half