title: Encryption-decryption between Ruby and Dot net
body: <p>I need tyhe dot net equivalent of the following code. Matter is, I am encrypting using Ruby on client side, here is the code. 
  The encoded string will be passed to a C# web service. That has to decrypt the string.</p>
  
  <p>If someone can provide the dot net equivalent of this code, then it will be helpful.</p>
  
  <pre><code>require 'rubygems'
  require 'ezcrypto'
  require 'crypt/rijndael'
  
  plaintext = '24.9195N 17.821E'
  
  
  aes_key = Crypt::Rijndael.new('0123456789abcdef0123456789abcdef')
  aes_cyphertext = aes_key.encrypt_string(plaintext)
  print "\n"
  
  print aes_cyphertext +"\n"
  
  print Base64.encode64(aes_cyphertext)
  print "\n"
  
  print aes_key.decrypt_string(aes_cyphertext)
  print "\n"
  </code></pre>