All optical data encryption Custom integrated optical circuits for terahertz optical signal processing