Bitcoin Forum
May 30, 2024, 11:46:09 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Asymmetric Encryption - How is the Public Key Being Shared?  (Read 92 times)
arthurzee (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 19, 2019, 01:15:14 PM
 #1

I've been reading up on the relationship between private keys and public keys (as well as hashing), watched a few videos, but I am still a bit confused.

I don't have a programming background and trying to understand it in a way so that I am able to explain it to an "everyday person".

What I found is that before a message is "encrypted" with a "public key" that key FIRST must be shared with the receiver.

How is that the public key being shared?

Thanks for your help, Arthur
mocacinno
Legendary
*
Offline Offline

Activity: 3402
Merit: 5004


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
July 19, 2019, 01:21:03 PM
 #2

I've been reading up on the relationship between private keys and public keys (as well as hashing), watched a few videos, but I am still a bit confused.

I don't have a programming background and trying to understand it in a way so that I am able to explain it to an "everyday person".

What I found is that before a message is "encrypted" with a "public key" that key FIRST must be shared with the receiver.

How is that the public key being shared?

Thanks for your help, Arthur

Yes, somebody encrypting a message uses your public key, so without your key he cannot encrypt... You need your private key to decrypt the message. You messed up the fact that the pubkey must be sent to the receiver tough... The sender needs the public key to encrypt the data, the receiver needs the private key to decrypt. The receiver generates a private/public keypair, keeps the private key private and distributes the public key.
As for how to share the public key => assuming your talking about pgp: key servers like this one usually do the trick: https://pgp.mit.edu/

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!