In this paper, a novel radar jamming method based on random phase modulation of digital coding metasurface was proposed. For typical radar system, the modulation model of coding metasurface and the echo model are deduced firstly. Then, the ordered statistics greatest of the constant false alarm rate (OSGO-CFAR) detection model was chosen to analyze the radar detection performance. Through serials of simulation, the influence of modulation modes, modulation switching interval, the number of coding elements and the signal-to-noise ratio (SNR) on radar detection performance is analyzed. Finally, the Monte Carlo simulation is performed. The result shows that as the modulation switching interval of metasurface decreases, the spectrum energy distribution of the target becomes more dispersed and the detection probability of the target decreases obviously. Traditional radar detectors will become ineffective, and the shielding of the target will be achieved. This implies a new radar jamming method which can realize target shielding instead of traditional stealth by reducing the radar cross section.