Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 390
  • Last Modified:

PGP or GPG encryption/decryption assembly?

I’m trying to write a C# application that needs to encrypt and decrypt files and then e-mail them to certain recipients.
Is there any recommended .NET library that can help with that or maybe even an easy to use COM object that could do the trick?
0
R666
Asked:
R666
2 Solutions
 
gregasmCommented:
Hi R666,

I have used PGP 7.1 in past EAI projects.

http://www.mcafeesecurity.com/us/downloads/evals/default.asp
You can download a trial version of McAfee E-Business Server for Windows 7.1.1 there.

Here is the readme file for the PGP E-Business Server v.7.1.
http://www.networkassociates.com/common/media/pgp/support/pgp/e-biz/ebiz71/readme71.txt

Try to avoid using 8.x. Although it looks appealing since it is free, it has some bugs that we found in the following thread:
http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VB_DOT_NET/Q_21071817.html

There is no support for 8.x either.
0
 
surajgupthaCommented:
Mailing Receipients
---------------------
1) Here is a link about sending mails using C# through SMTP

http://www.codeproject.com/csharp/sendmailcsharp.asp

2) You can also do it using outlook, check this link

http://www.c-sharpcorner.com/Internet/SendingEmailsThroughOutlookCB.asp

Regarding Encryption
------------------------

1) You  can choose to make a function that encrpts your files (using some algorithm)
2) You  can use packages like PGP as suggested by gregasm

You will have to decided using which algorithm you need to encrypt and decrypt data
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now