By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,483 Members | 1,039 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,483 IT Pros & Developers. It's quick & easy.

RSA Key Exchange

P: n/a
Ok .. im writing both a server and client aplication that need to be
encrypted. I want to use the RSA Key exchange technique .. i think it
resides in System.Security.Cryptography.RSAPKCS1KeyExchangeFo rmatter but im
not sure how to use this class.

If anyone can provide some code that does this i would appreciate it.

If possible, emailing the code (or links to info) would be best.

bryan<AT>beginningsend<DOT>net
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hi Bryan,

To come to the encription classes type as keyword "Rijndael" into the MSDN
search box

msdn.microsoft.com

Than you find a bunch of samples.

I hope this helps?

Cor
Nov 20 '05 #2

P: n/a
Thanks Cor,

I was hoping to find some code examples mostly regarding key exchange. I
understand cryptography somewaht well and i know how public key exchanges
work, i just cant figure out how to implement it.

like i said, any code is appreciated.. thanks in advanced guys

bryan

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:eb**************@TK2MSFTNGP12.phx.gbl...
Hi Bryan,

To come to the encription classes type as keyword "Rijndael" into the MSDN
search box

msdn.microsoft.com

Than you find a bunch of samples.

I hope this helps?

Cor

Nov 20 '05 #3

P: n/a
Hey Bryan,

In what setting do you want to know how they are exchanged? It doesn't
really matter how if you think about it.

Let's take a simple example.

we have client A and Server B. Client A wants to communicate securely with
Server B, so it initiates a request saying "Hey... lets talk..." server
responds back, "ok."

At this point is where we can do key exchange, how we want to do it is up to
us, because after all, the only thing we are going to exchange between them
is the public keys (yeah, again, try to crack 128 bit RSA key... see ya in
a couple years).

So client A says "Hey, here's my public key, encrypt all packets coming out
with it."

Server says. "OK. I want the same. here's my public key, I'll go ahead and
encrypt it in your public key to make it even more secure" (this way only
one public key is ever known).

Now each one has a public key, so secured communications continue. each
packet is encrypted with the opposing public key and decrypted by the proper
public key, then communications end.

The point being, its pretty simple, you can set it up anyway you want to,
because all your doing is exchanging keys. This assumes you set up your own
client and server. Now, if your trying to interface with an applicatoin
already in existance (i.e. IIS/HTTPS) then the provider will have a format
they want the key sent in.

So, you need to go to them... Or you need to explain what application your
trying to start secure communications with... otherwise, source code is
useless, because what I just said is jsut one method of doing PKE
Thanks Cor,

I was hoping to find some code examples mostly regarding key exchange. I
understand cryptography somewaht well and i know how public key exchanges
work, i just cant figure out how to implement it.

like i said, any code is appreciated.. thanks in advanced guys

bryan

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:eb**************@TK2MSFTNGP12.phx.gbl...
Hi Bryan,

To come to the encription classes type as keyword "Rijndael" into the MSDN search box

msdn.microsoft.com

Than you find a bunch of samples.

I hope this helps?

Cor


Nov 20 '05 #4

P: n/a
if thats not enough

try here
http://www.research.att.com/~smb/papers/index.html

"Bryan" <br***@beginningsend.REMOVEME.net> wrote in message
news:Zw********************@twister.nyc.rr.com...
Thanks Cor,

I was hoping to find some code examples mostly regarding key exchange. I
understand cryptography somewaht well and i know how public key exchanges
work, i just cant figure out how to implement it.

like i said, any code is appreciated.. thanks in advanced guys

bryan

"Cor Ligthert" <no**********@planet.nl> wrote in message
news:eb**************@TK2MSFTNGP12.phx.gbl...
Hi Bryan,

To come to the encription classes type as keyword "Rijndael" into the MSDN search box

msdn.microsoft.com

Than you find a bunch of samples.

I hope this helps?

Cor


Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.