title: .NET encryption
body: <p>I need to encrypt a couple of my user's data fields in the database (strings). The fields will only be used within the application but we want them to be as secure as possible. </p>
  
  <p>What would be the best approach to do this? </p>
  
  <p>Can anyone recommend a good script/class?</p>
  
  <p>Is it possible to use an encryption technique that only allows for the decryptor to work if you run it on the server?</p>
  
  <p>Thanks</p>
  
  <p><strong>EDIT</strong>:
  one more question:  is it true that if no one has access to my server then is safe to store the public key within the code?</p>