title: Simple encryption algorithm in c#.net
body: <p>I am trying to read the text from the file nad encrypt it and pass it to a function in string format.
  Later I also want to decrypt it.</p>
  
  <p>I tried the following but it didn't do any encryption.Can anyone suggest any simple encryption algorithm?</p>
  
  <pre><code>fileStream = store.OpenFile(strFilePath, FileMode.Open, FileAccess.Read);
  strEncryptedFileStream = Encoding.Unicode.GetBytes(fileStream.ToString()).ToString();
  </code></pre>