Comment a simple answer is the best (Score 1) 1
I was asked for code samples once by a security contracting company when my previous company was also a DOD contractor. I said that providing code would both be a violation of national security and a breach of contract from my other company. That ended the discussion without any issues.