Power Community

Power Community

Encrypting/Decrypting a file using PGP Public & Private Key Pair – Sample


Hi Folks,

Thank you for visiting my blog today…did you ever worked on any file-based integrations with other systems using Dynamics 365. Then you could have used encryption for files transfer.

What kind of Encryption/Decryption mechanism you have followed…?

While many people follow PGP Encryption to encrypt because it is widely considered as the safest encryption standard till now. So, in this post, I will show how you can encrypt using C# code and decrypt using the same C# code.

I have actually added all the necessary source code to my Git Hub Samples repository, this perfectly works well when you want to encrypt and decrypt using C# code.

All you need is to copy and replace the file locations in the code. Sit back and enjoy encrypting and decrypting with PGP.

If you need any other information, don’t hesitate to reach out…



Author: Pavan Mani Deep Y

Technology geek who loves sharing my leanings, quick tips and new features on Dynamics 365 & related tools, technologies. An Azure IOT Enthusiast….

This post was originally published on this site

- Advertisement -spot_img


Please enter your comment!
Please enter your name here

- Advertisement - Advertisement

Latest News

Preferred Solution | New feature | Microsoft Dataverse

Click on the below image to navigate to my YouTube Channel. Please like and share your valuable feedback on this...

More Articles Like This

- Advertisement -spot_img