File Encryption using Rinjdael with Public and Private Key

The below is an example of how to encrypt and decrypt files using rinjdael with public and private keys for added security.

Step 1:-

First we need 4 Folders and 1 class:

Folder 1: “keys”

Folder 2: “UploadedFiles”

Folder 3: “EncryptedFiles”

Folder 4: “DecryptedFiles”

Class: “FileEncryption.cs”

Continue reading