General Martin E. Dempsey, the chairman of the Joint Chiefs of Staff, announced the program, saying that “cyberwarfare, directed energy and electronic attack,” a reference to such things as malware, lasers and signal jamming, were all becoming important new adjuncts to the traditional ways of deflecting enemy strikes.