title: An easy way to encrypt and decrypt with a key
body: <p>I'm looking for an easy way to encrypt and decrypt some data using a fixed key (which will be stored in my configurations) and store the result as string (base16 or hex).</p>
  
  <p>Something like</p>
  
  <pre><code>string myString = "hello world";
  string myKey = "k2k3aij3h";
  string enc = new Algorithm().Encrypt(myString, myKey);
  string dec = new Alrorithm().Decrypt(enc, myKey);
  </code></pre>