Diffie Hellman Key Exchange C#

mazzzzz
mazzzzz used Ask the Experts™
on
     Hello, I have been working on a p2p program that would send files from one user to another, and I need to encrypt the files before they're sent.  Normally I would just use a password system, but this program has special requirements.  Sense the receiver could be anyone (your friend, family, co-worker, nagging in law, etc.) I needed a way to set up an encryption key without the receiver needing to remember a password.  So I looked up the Diffy-Hellman key exchange, and I was impressed!
      Sadly, I can't make the mathematics work for me :/  I have spent a few days searching the internet for some source code or article, but nothing.
      So after the bit of research I did, I believe I need two things: 1) A class that can hold the large numbers (something bigger than integer), and 2) The actual algorithms of the Diffy-Hellman key exchange.

Any and all help is much appreciated!
Thanks!
Max
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior Consultant - Deloitte
Commented:

Author

Commented:
Thanks!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial