Patterning and encryption using gold nanoparticles