A dramatic increase in the number of devices that are connected to the wireless networks has seen many challenging issues. One of them is the security problem. Enhancement in physical layer security has shown promising results to improve these security issues in the existing wireless networks. This paper proposes a transmission technique based on scrambled Bose Chaudhuri Hocquenghem code with feedback to improve the physical layer security in wireless communication system. The security of the transmission system over a wiretap channel is investigated. Scrambling matrix is applied to the code word and a hybrid automatic repeat request (HARQ) protocol is used. In this paper, the security gap is used as a performance metric to measure the difference between the authorized and unauthorized channel. We find that the proposed technique results in smaller security gap compared to the conventional techniques.