Scattering-based methods for holographic detection and encryption