Mitch's Blog

Technology experience and practical advice on ASP.NET, .NET, AI, software architecture, and more.

Browse Articles

255 articles (page 29 of 29)

Encrypting Files

Development > .NET

Posted:

Included in this entry is sample C#.NET code (1.1 and 2.0 compliant) that can encrypt and decrypt data files. The input elements are byte arrays and it uses a simple key-value that you can substitute for a more advanced value if needed.