The National Security Agency’s Gilbert Herrera knows many people may not understand why his agency is funding research that could help produce an “economic weapon of mass destruction.”