We propose a novel method for optical identification by using a random phase mask. The identification system is based on a holographic correlator used to verify the access phase mask. The random phase function of the mask works as a code for identification. The database is a holographic memory that records the complex amplitude image of the random phase mask through angle multiplexing. The cross talk between different masks is small and the main restriction of the capacity in this system is the dynamic range of the recording material. Both the theory and the experiment are presented.