15,907,687 members
See more:
Hi All,

Is there any cryptography system developed in which the key is not sent from server to client for decryption.

I mean the keys are extracted via some other methods at the client side itself to decrypt! anybody knows?

Posted
Updated 15-Jun-11 21:33pm
v2

Solution 1

How can you ask questions in such form: "anybody knows"? Many people here know this very well.

First, if keys exist, they always send somewhere. Now, I feel you did not get it. How do you think, is it possible that two parties never meet, exchange data using some open channel and still can exchange secret data even though someone spies on them from the very beginning?

Many would intuitively say this is impossible, because — whatever all of them know and tell to each other, the spy in the middle also knows. This is a subtle logical mistake. This is quite possible. The idea is well explained in this article on public-key cryptography: http://en.wikipedia.org/wiki/Public-key_cryptography[^]. Follow the speculations about Alice and Bob and you will see that the "key extraction" techniques you're thinking of is not needed.

The key to understanding is based on one-way function, see http://en.wikipedia.org/wiki/One-way_function[^]. The data is encrypted with one key, decrypted with another one.

RSA is one of such algorithms, see http://en.wikipedia.org/wiki/RSA[^], ECC is another one, see http://en.wikipedia.org/wiki/Elliptic_curve_cryptography[^].

—SA

v2

Solution 3

simple approach:
Decrypt in JAVA problem[^]

..for "not so much security" systems. Depends on what you want to transmit on the network. this is a useful way when the stuff "just should not be readable by everybody". Implement that on both sides in case.

Solution 4

If you use any half-decent comms solution you don't need to worry about how it is done. Let the comms layer deal with this for you. Look at VPN[^] and SHTTP[^] for two good examples.

Solution 2

you have to do hit and try method. use diff kind of decryption methodology.