The application of spatial light modulators to optical encryption systems