Cryptography in coherent optical information networks using dissipative metamaterial gates