Bitcoin Forum
November 14, 2024, 01:27:53 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: question about public key crypto  (Read 353 times)
spooderman (OP)
Legendary
*
Offline Offline

Activity: 1652
Merit: 1029


View Profile WWW
April 26, 2016, 04:40:39 PM
 #1

i'm a noob but would appreciate an explanation here.

so my understanding with pub key crypto is that i send you my pub key, you send me yours. and the messages that we send to eachother which are encrypted are unreadable to anyone that doesn't hold the relevant private keys.

but what i don't understand is how this helps when there is a (wo)man in the middle "eve".

unless you exchange public keys in person eve could just be intercepting your messages and really you are both encrypting messages to eve's pub key and not the intended recipient and obviously she forwards it on, after having read the content and re-encrypting it using the correct public key.

i ask because i try to explain this stuff to people who know even less than me and realise i don't know what i'm talking about.

help a layman pls.

Society doesn't scale.
criptix
Legendary
*
Offline Offline

Activity: 2464
Merit: 1145


View Profile
April 26, 2016, 08:34:49 PM
 #2

you use the pub key to encrypt your message and your priv key will decrypt it.

pub key is used to verify the origin of the message and the message itself.

(you can not decrypt with pubkey because it should not be possible or rather very hard to compute priv key from pub key)

now sharing the pub key is a obvious problem and one attack vector which you mentioned is a man in the middle attack.
so the safest bet would be exchanging pub keys in person, make the person remember it and destroy all evidence of the pub key.

one solution for it lies in future quantum cryptography where it shouldn't be possible to perform a men in the middle attack without getting noticed (it is based on some laws of quantum mechanics).


*edit

                     █████
                    ██████
                   ██████
                  ██████
                 ██████
                ██████
               ██████
              ██████
             ██████
            ██████
           ██████
          ██████
         ██████
        ██████    ██████████████████▄
       ██████     ███████████████████
      ██████                   █████
     ██████                   █████
    ██████                   █████
   ██████                   █████
  ██████
 ███████████████████████████████████
██████████████████████████████████████
 ████████████████████████████████████

                      █████
                     ██████
                    ██████
                   ██████
                  ██████
                 ████████████████████
                 ▀██████████████████▀
.LATTICE - A New Paradigm of Decentralized Finance.

 

                   ▄▄████
              ▄▄████████▌
         ▄▄█████████▀███
    ▄▄██████████▀▀ ▄███▌
▄████████████▀▀  ▄█████
▀▀▀███████▀   ▄███████▌
      ██    ▄█████████
       █  ▄██████████▌
       █  ███████████
       █ ██▀ ▀██████▌
       ██▀     ▀████
                 ▀█▌
 

             ▄████▄▄   ▄
█▄          ██████████▀▄
███        ███████████▀
▐████▄     ██████████▌
▄▄██████▄▄▄▄█████████▌
▀████████████████████
  ▀█████████████████
  ▄▄███████████████
   ▀█████████████▀
    ▄▄█████████▀
▀▀██████████▀
    ▀▀▀▀▀
spooderman (OP)
Legendary
*
Offline Offline

Activity: 1652
Merit: 1029


View Profile WWW
April 27, 2016, 01:08:18 AM
 #3

nice thanks. was wondering how SSL works. but now i've learned the pub keys are always compared against a copy held by an authority.

that's an interesting possibility with quantum computing!

Society doesn't scale.
kenko
Sr. Member
****
Offline Offline

Activity: 305
Merit: 250



View Profile
August 20, 2016, 08:48:18 AM
 #4

sorry,, im also not understand, what is public key crypto, anyone can explain it here  Sad
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!