Excerpt: For decades, the N.S.A. relied on its own computer scientists, cryptographers and mathematicians to tap, decode and analyze communications as they traversed phone lines and satellite networks. By the 1990s, however, advances in personal computing, the growth of the Internet, the advent of cellphones and the shift in telecommunications to high-speed fiber-optic lines has made it difficult for the N.S.A. to keep up.
Answer: Simple. Instead of contracting out, just add staff to the NSA. This is a no-brainer.