Advances in communication technology have seen strong interest in digital data transmission. However, illegal data access has become more easy and prevalent in wireless and general communication networks. In order to protect the valuable data from illegal access, different kinds of cryptographic systems have been proposed. In this paper, a new integrating channel coding and cryptography design communication systems is proposed. So the authors use cryptography as an error detection tool. In order to preserve the advantages of encryption and to improve its disadvantages, they place the encryptor before the encoder.