Entirely transparent polysilane films, which were modified by ultraviolet (UV) light exposure to decrease their refractive index, were used as phase masks. The phase modulation amount of the transmitted laser, which was estimated using a Mach–Zehnder interferometer, can be modified linearly by UV exposure dose, indicating that the polysilane films have a very useful property of controllability by UV light exposure. Optical correlation using the polysilane phase masks as the information-carrying medium was then demonstrated. A matched-filter four-wave-mixing optical correlator using a photorefractive (PR) polymer as a real-time holographic data storage medium was used. A large correlation signal difference of over 3.6-fold was obtained for the striped polysilane phase masks that were arranged orthogonally or in parallel. This is due to the distinct encoded images in the polysilane phasemasks originating from the large refractive index modification in polysilane films of approximately Δn=-0.14 at λ=633 nm. The high transparency in the entire visible region and such large refractive index modification make polysilane films difficult to forge, and allow us to use phase masks in pattern recognition systems for security verification.