title: Implementing AES-GCM with 128-bit blocks and 256-bit key
body: <p>I do not usually work with encryption but I need to use <strong>AES-GCM</strong> algorythm in C# with <em>128-bit blocks</em> and <em>256-bit key</em>.</p>
  
  <p>I already read many articles about it but I can't find a valid solution.</p>
  
  <p>Maybe:</p>
  
  <p><a href="https://github.com/lukemerrett/Bouncy-Castle-AES-GCM-Encryption" rel="nofollow noreferrer">https://github.com/lukemerrett/Bouncy-Castle-AES-GCM-Encryption</a>  / <strong>BouncyCastle</strong></p>
  
  <p>or</p>
  
  <p><a href="https://blogs.msdn.microsoft.com/shawnfa/2009/03/17/authenticated-symmetric-encryption-in-net/" rel="nofollow noreferrer">https://blogs.msdn.microsoft.com/shawnfa/2009/03/17/authenticated-symmetric-encryption-in-net/</a></p>
  
  <p>Can be valid solutions? Is there something already present in the Framework?</p>
  
  <p>Is it possible to implement the same solution in <em>ASP.NET 2.0</em>? (I found: <a href="https://msdn.microsoft.com/it-it/library/system.security.cryptography.rijndaelmanaged(v=vs.110).aspx" rel="nofollow noreferrer">https://msdn.microsoft.com/it-it/library/system.security.cryptography.rijndaelmanaged(v=vs.110).aspx</a>)</p>