which encryption to use?
-
Suppose A and B are talking, and X is listening their talk ( very bad:mad: ), A encrypts the message by a key which B sends to him, X knows the key and the algorithm to encrypt, is their any algorithm that only B can decrypt that message, and A and X can only encrypt the message. http://www.priyank.in/
-
Suppose A and B are talking, and X is listening their talk ( very bad:mad: ), A encrypts the message by a key which B sends to him, X knows the key and the algorithm to encrypt, is their any algorithm that only B can decrypt that message, and A and X can only encrypt the message. http://www.priyank.in/
-
Have a look at the Diffie Hellman[^] key exchange system. After you've agreed to a key, use a symmetric cipher like AES, Twofish, etc.
Thanks for the info!:) Infact, there is an implemenation also at CP: www.codeproject.com/cpp/DiffieHellmanExample.asp http://www.priyank.in/
-
Suppose A and B are talking, and X is listening their talk ( very bad:mad: ), A encrypts the message by a key which B sends to him, X knows the key and the algorithm to encrypt, is their any algorithm that only B can decrypt that message, and A and X can only encrypt the message. http://www.priyank.in/
-
Yes, this is called public key encryption[^]. There are several algorithms for that, the most commonly used is RSA[^].
markkuk wrote: Yes, this is called public key encryption[^]. I think you didn't get the question, anyway the answer is not RSA, its: http://www.codeproject.com/lounge.asp?df=1&forumid=1159&mpp=50&select=1138490#xx1138490xx http://www.priyank.in/