A former National Security Agency contractor has been indicted on 20 criminal counts involving the theft of highly classified information from the federal government during more than two decades of employment, federal prosecutors announced Wednesday.