Polyion complex (PIC) hydrogels attract lots of studies because of the relatively definite network and excellent mechanical strength. However, the stability of the PIC hydrogel is poor in salt solutions due to the counter‐ion screening effect, which restricts their applications. Besides, novel functions of the PIC hydrogels also need to be explored. In this work, a multifunctional PIC hydrogel is prepared by polymerizing a hydrophobic monomer 2‐(diethylamino)ethyl methacrylate in poly(styrene sulfonic acid) aqueous solution with the presence of counter‐ion NaCl. Fourier transform infrared (FTIR) spectra, water content, and mechanical properties of the hydrogel are investigated. The introduction of hydrophobic weak electrolyte into the hydrogel brings stable excellent mechanical strength even in NaCl solutions with high concentration and pH modulated softening and strengthening. Surprisingly, the hydrogel swells but is strengthened in HCl, while it shrinks but is softened in NaOH. pH induced shape memory and unique spontaneous shape changing is thus presented benefiting from this synergistic effect. Moreover, information encryption is realized on the PIC hydrogel owing to the transmittance change and the different water absorption capability of the hydrogel at different states. This new kind of PIC hydrogel proposes a new smart material in continuously actuating soft machines and secretive information transformation.