Homework on Public and Private Keys - Questions

The private key, its your key to your wallet, to your coins, to verify that is you and decrypt transactions.
The public key, its a key made by your private key, that can send to the public, and the reciver to open a encrypt message or file.

it can be used to send and receive encrypted files and as a digital signature.

1 Like
  1. Describe the concept of public and private key with your own words.

Public key is an encrypted version of your private key which can be shared to send & receive messages.

  1. What 2 use-cases can public key cryptography be used for?

Encryption and digital signatures

1 Like

These are actually both examples of digital signatures :slight_smile: the second use case for public key cryptography is encryption :wink:

1 Like
  1. A public key can be used to send bitcoin to. A private key can be used to send bitcoin from.

  2. Secure messages and signed messages

1 Like
  1. private key is using to generate a public key, than incoming data can be encrypted by using public key and only decrypted by using a private key. This concept creates a bullet proof protection layer as long as receiver keeps his private key in secret form others
  2. to encrypt sensitive transmission and to create a digital signatures
1 Like

a private key is a string of letters and numbers that only the person that created it will know (unless stolen or given out accidentally) From the private key, a public key is generated. It is near impossible, if not impossible, to take a public key and find the private key. When an encrypted message is sent with the public key, only the person with the private key can unlock this message. In the case of bitcoin, the public key is used to generate a bitcoin address which provides another layer of protection as the public key is not able to be determined using the bitcoin address.

2: encryption and digital signatures

My question is: When transferring money, do people use their public key, or do they use their bitcoin address? In the video, it was stated that everyone posts their public key on twitter…etc.

1 Like

insted of having a username and a password the blockchain uses a private key. The privatekey gives you access to the wallet and also gives a signature when a transaction is made. The private key generates a public key which can be showed everywhere to send funds to. The private and public key is a one way function so even if you show your public key, you cant somehow find out the private key. But if you have the private key you can find the public key.

Public keys can be used to crypt messages or sending funds.

so public key is not the same as bitcoin address but you still send funds through public key? how does this work? i only see my private key and public key. Is there a encryption somehow when you send to a public key so it gets to a bitcoin address which can be acesses through private key?

1 Like

I’m not sure what video you are referring to. But in the past a public key was used as the address. This was later changed to the hash of the public key, which is now considered as a bitcoin address :slight_smile:

1 Like

Public key and bitcoin address are “technically” the same thing. Historically the public key was used as the address, but that was later changed to the address we know today by hashing the public key :slight_smile: so basically nowadays the address is a hash of a public key.

1 Like

Thanks for the answer Alko89!

  1. 1st of all your private key is randomly generated. Your private key runs through a hash function to give an output. This output is your public key. Anyone can see your public key and can be shared around without a problem and is safe to do so.

a. Your private key can be used to sign a transaction and can be verified from the public key from the same corresponding address.
b. Your public key can be used as an address to send data or transactions to.

1 Like

These are both examples of digital signatures. The second use case for public key cryptography is encryption :slight_smile:

1 Like

Oh yea I missed that one. I was sitting think there’s something else.

  1. Private key is a random combination of symbols and public key is a combination generated by the respective private key through a mathematical function.

  2. Encryption and Digital Signature.
    Encryption is to secure a message with the recipient’s public key. The recipient will be able to see the message using his private key.
    Digital signature is using a private key to generate a number that combined with the correspondent public key will confirm that it was signed by the private key holder.

1 Like
  1. Public key is visible for anyone and can be used to encrypt the message (we use the public key of our addressee), and read the encrypted message by someone that we sent the message.
    Also reciever is able to check our identity because he can find out that our public key and signature are created by the same private key.
    Private key let’s us sign the message and create a public key.

  2. To show identity of our signature, let someone to encrypt a message for us, and also let us read that message…

1 Like
  1. Public key is derived from the private key which was randomly generated and both are used to encrypt data.
  2. Encryption and digital signature.
1 Like

A private key is a secret random number that allows you access to your Bitcoin. A public key is generated by using a private key plus a hashing algorithm. Private key + hashing formula = public key.

Public keys can be used to create a digital signature or encryption of data.

1 Like

1.in public key , two keys are used one key is used for encryption and another key is used for decryption. one key (public key)is used for encrypt the plain text to convert it into cipher text and another key (private key ) is used by receiver to decrypt the cipher text to read message.

2.for encrypted data and digital signatures

1 Like

Describe the concept of public and private key with your own words.

Private key is a computer generated unique “password” that links to a unique public key or “address”. It is not possible to find the private key from knowing the public key. Similar to email, you can share your email address (public key), but no one can read your emails without your password (private key)

What 2 use-cases can public key cryptography be used for?

Encrypted messaging (ie email, or private messaging)
Crypto wallet addresses

thanks. this is definitely an important detail.