Military is in my blood, even though I was unable to serve due to health reasons. I think you did the right thing. Base on what you described, it seems like ciphers were not the only issue. For all we know the guy whose laptop needed to be opened could have modified your original program without your knowledge. From my developer experience, if you do one thing wrong, it can lead to a cascade of events that makes your job impossible. In this case NSA could have lost what they needed. So what better way to find out if your original program had been tampered with? Ask the creator who has the source code.