Patterned photonic crystals for hiding information