We report a monolithic, ultra-compact optical-CDMA encoder/decoder photonic chip in InP with surface planarization by low-pressure Hydride-Vapor-Phase-Epitaxy regrowth. The chip consists of an AWG pair and eight electro-optic phase shifters and demonstrated excellent encoding operation.