Monday, April 27, 2009

How to encrypt and decrypt a file by using Visual C#

Leave a Comment

Encryption and decryption

The System.Security.Cryptographic namespace in the Microsoft .NET Framework provides a variety of tools to help you with encryption and with decryption. The CryptoStream class is one of the many classes that is provided. The CryptoStream class is designed to encrypt or to decrypt content as it is streamed out to a file.

You can download working example also.

This is a basic example so, if you have any more questions please let me know.

0 comments: