An N.S.A. document from the Snowden trove presents a chilling summary of the escalation of cyberwarfare between the United States and Iran.