This research article addresses the issue of jamming in wireless networks, particularly the methods that attackers use to disrupt communication by overwhelming legitimate traffic with illegitimate signals. The authors propose a framework for detecting and mitigating selective jamming attacks by combining cryptographic techniques and physical-layer parameters to minimize the impact of these disruptions. Furthermore, the paper details the implementation of a simulation environment that tests various packet transmission strategies to improve network resilience against such attacks.