Encryption of ghost imaging