Matthew van Eerde wrote:
 | Manip wrote:Perhaps you could have saved yourself a lot of time if you had taken thirty seconds to read my post...
|
Ouch.
 | Manip wrote:If you had you would know that I know how public/private cryptography works, and that I am not looking for traditional public-private cryptography... I am looking for something else. |
Well, I did read your post. Perhaps I didn't understand it the way you intended.
What I got out of your post was you were looking for a way to prove you wrote such-and-such text. That's known as "signing," and the existing public/private-key system supports that in the way I suggested.
As to the exact mechanism used, it's all about taking two large primes and multiplying them together.
Consider my office number: 4709. Also, consider my previous home address: 533.
Neither of these are prime, but they are both products of two primes (each.)
With some effort you could figure out the two primes that are multiplied to make each of these numbers. Or I could just tell you, which would be much faster.
If I picked much larger primes and multiplied them together, it would take you much, much longer to figure out the two primes I used. If I picked REALLY large primes it would take you practically forever, even with a very powerful computer. (Although if you're a major government or a zombiemaster, you have a better chance than most: see the
RSA Factoring Challenge page on Wikipedia)
The product-of-primes is my public key. The pair-of-primes is my private key.
For more, see the
Wikipedia article on RSANote this sentence: "It was the first algorithm known to be suitable for signing
1 as well as encryption"
1Which is what you want
Thanks , This is really helpfull. At least I get a good review of the basic concepts.
My question though is, since your transfering keys over ISP network, would it not be possible for ISPs to read your public key? and perhaps access your pc somehow to get your private, since they are the "Medium" the transaction is occuring over? Most cases only the people you want to talk to would know of your Public Key , but ISPs like AT & T would also know it simply because they have your packet logs would that not be the case?
In such a case, how to protect your public key if you only want someone specifically to know about it?
Secondly, the Key pairs are mathematically related? So if I encrypt a message to you using one key you can, in theory , use the other key to decrypt the message and vice versa, is this true?
The signing part, is it simply a Hash of the message that the reciver compares to the hash digest of the message that the reciver recalculates? if the hashes match, then the message is unaltered.
Secrete Packet:
Mauritus Is a Good C9 member. MD5Hash as signiture. EndOfPacket.
then Encrypt it
}{AEF}ASEFkwarjweriopwi542-05lkslvkmslkvmalkmflakmlwkerklwjerlwk
something like that, so its unreadable.
Is it possible for any one who is sniffing encrypted data to decrypt it if they dont have the secret PRIVATE key?
Also, what if you have multi-layer of encryption does this help secure date more or is it useless to think that way because its not adding any real security to the data.
Like do this, Symetic encryption, RC crypto, Asymmetric SSL, + some other layer like one-time pads . Would this make things UNBreakable for the next 200 million years?
Finally what is the most secure encryption protocol in existance today aside from SSL? is it one-time pads?