title: How to encrypt/decrypt a MS word document in visual C++
body: <p>I need a simple,small and efficient program for the following thing to do.</p>
  
  <ol>
  <li>A small interface to choose a file from my PC.</li>
  <li>Press encrypt/De-crypt button to do select whichever you need.</li>
  <li>If encrypt is pressed, generate a random key and encrypt with some algorithm based on that key.</li>
  <li>If decrypt is pressed decrypt the file using some algorithm.</li>
  </ol>
  
  <p>I am planning to do it in visual C++. Can anyone please suggest a small program in VC++ to do this? or please tell me the library name where I can get all the functions to do the above.</p>
  
  <p>If you think that there is some better language or framework available to do instead of VC++, please suggest. Thanks. I would very much grateful to you for this help.</p>