WSN_authentication Order embed_cg -> Tampering -> restore_cg Realizing the detection of tampering and data restoration