Skip to content

C# Examples

  • Home
  • About C#
    • C# Interview Questions and Answers for .NET Developers
    • Learn C#: A Practical Path Through the Examples
  • All Posts
  • Bootstrap 5 Examples
  • Contact

crypto

Encrypt and Decrypt Streams in C# with AES

November 25, 2026June 13, 2014 by turgay

Encrypt and decrypt files and streams in C# with AES, a password-derived key and a random IV, and when to switch to authenticated encryption with AesGcm.

Categories C# .NET Tags AES, C#, crypto, decrypt, encrypt, RijndaelManaged, TripleDES 2 Comments

Categories

Recent Posts

  • Select XML Nodes by Name or Attribute Value in C#
  • Binary Search Tree in C#: Add, Find, Remove and Traversals
  • Select, Insert, Update and Delete Data in an Access File with C#
  • C# Collections: Which One to Use and When
  • C# ArrayList vs Generic List: Examples and When to Use Each
  • About
  • Privacy Policy
  • Contact
© 2026 C# Examples