It is a high quality data encryption technique by double random phase encoding with uniformly distributed random phase in both input and Fourier phases. Based on double random phase encoding technology and combination of digital holography and print technology, a new in-line phase holography mark printing anti-fake method with double random phase encryption is proposed. Theoretical analysis proves that the presented technology can recover data of the original image effectively, and the robust anti-interference and anti-bit compression characteristic is verified by computer simulation. Printing and scanning experiments demonstrates that the in-line phase holography mark can be printed on the printed matter (e.g. documents) as the anti-fake mark by common digital printing technique. The in-line phase holography mark can be input into a computer by scanning, and then converted to digital images. The original image data can be recovered by decryption mask.