title: TEA Encryption with C#
body: <p>I'm trying to work with a TEA encryption algorithm developed using <a href="http://web.archive.org/web/20111104141040/http://www.blog-dotnet.com/post/Tiny-Encryption-Algorithm-%28TEA%29-in-Visual-BasicNET.aspx" rel="nofollow">VB.NET</a> (the only .NET implementation I found) in a C# project and get an exception (System.OverflowException: Arithmetic operation resulted in an overflow)</p>
  
  <p>So I wondered if there is some C# implementation for TEA (couldn't find any).</p>
  
  <p>The encoding/decoding is on QueryString parameters - so it should be used on strings and not Ints.</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thanks.</p>