For the realistic demand of data security communications,a new security communication method was proposed. First of all,the encryption factor was extracted from the plaintext. Secondly, Encryption factor as a key group was expanded by the way of the m-sequence and generates pseudo-random key sequence that can be used to encrypt data. Pseudo-random key sequence generated in this way had good characteristics of self-correlation and the encrypted data had a better anti-attack performance. Meanwhile, the receiver can also use encryption factor to identify the integrity of the data.