Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 14th, 2005, 07:32 PM
Authorized User
Join Date: Jun 2003
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default dotNet e-mail ecryption component

I just start leaning Windows Form development on C#. I suppose to write a program that can send e-mail with encryption because the data that attach with e-mail is a medical info.

I looked some on google but not sure what other features should be consider beside the encryption that I wanted.

If anybody could give me suggestion, I'd appreciate that.

Old July 9th, 2007, 05:37 AM
Authorized User
Join Date: Dec 2004
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to DZukiewicz

You want to look into asymmetric encryption. This type of encryption allows you and you only to decrypt messages.

The encryption has a few processes to set it up:

1) Generate a public key (to give to other people)
2) Generate a private key (for you to encrypt messages)

This allows people to encrypt messages and send them to you and only you can decipher them. Since this process is one way (sender encrypts, receiver decrypts), this means that the other party would have a similar system in place for you to encrypt messages.

So here is a basic process. Involving Alice and Bob.

1) Alice creates a public/private key and sends the public key to Bob.
2) Bob creates a public/private key and sends the public key to Alice.
3) Alice wants to send an e-mail, so encrypts using Bob's public key and then sends the message.
4) Bob decrypts the message with his private key.
5) Bob replies by using Alice's public key.
6) Alice reads the messages by decrypting using her private key.

Therefore, you can have an e-mail of this format:

xxcsdwfwekfjdfjj324j324jkojwkefj3r23rjk3l2rf23rf32 f32t2435jk5j436klj43l6j;6jl;54j6425


I hope this helps,


Similar Threads
Thread Thread Starter Forum Replies Last Post
com+ mail component b00gieman Beginning VB 6 1 October 23rd, 2007 08:54 AM
CDOSYS Mail component error shrisangeeta Classic ASP Basics 1 May 5th, 2007 06:01 AM
Forum component (dotnet 1.1 or 2.0) FP Images ASP.NET 1.0 and 1.1 Professional 0 February 5th, 2007 09:34 PM
component must be able to read the msg from mail schanda Pro PHP 0 August 17th, 2006 01:52 AM
E-Mail Component smitddv VB Components 0 February 20th, 2004 02:27 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.