Homework on Public and Private Keys - Questions

Describe the concept of public and private key with your own words.
A public and private key are a pair of keys the former being derived from the latter. This is a one way process and as such you cannot derive a private key from a public key. The public key can be shared and used by anyone to encrypt information but only the holder of the private key will be able to decrypt it.

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

1 Like
  1. Describe the concept of public and private key with your own words.
    Public keys are derived from private keys and are unique to each wallet. The private key is held by the owner of the wallet or asset and is private to its owner. The public key is the one that everybody can see all its transactions or messages going to and from it.
  2. What 2 use-cases can public key cryptography be used for?
    Encryption
    Digital Signatures
1 Like

1: The concept of public and private keys can be described in ‘a real world example’… if you live in an apartment block where there is a main entrance to the building, a public key is required so people can access the apartment block. A private key is required so that only the owner can access their ‘private’ apartment when inside the building. This example can be used to simplify the concept of public and private keys in cryptography.

2: Two use cases of public key cryptography are encryption of data and creating digital signatures (confirmations)

1 Like
  1. Private key is a random string of characters only to be known to the owner/administrator of the information (the sender). Public key is used by recipient of information to verify the sender.
  2. You can send sensitive information and value. You can sign a message sent to the recepient with the public key. The recipient can then verify the sender or information with the already shared private key.
1 Like

I hope you just switched the two :stuck_out_tongue: you should never, ever share your private key. You can sign messages with your private key to prove validity. :slight_smile:

3 Likes
  1. A private key is a randomly generated number by your computer that you must store securely. A public key is a number generated using your private key. You can share your public key to send messages or transact with and everyone can see. It is tied to your private key, but they can never see your private key unless you share it publicly.
  2. The 2 use cases public key cryptography can be used for is #1, Encryption and #2, digital signatures.
1 Like
  1. A private key is randomly generated by a computer. It can be considered to be similar to a password and should be kept in a safe place and never shared.
    The public key is generated by the private key using a one way hashing function and you can never determine the private key from the public key. The public key (eg. bitcoin address) can be shared with others and can be used to request payment etc. Both are used to encrypt and decrypt messages. The private key grants access (by decryption) to funds etc sent to public key.
    With the private key you can produce a public key, sign transactions, encrypt sensitive information etc.

  2. Use cases:
    Can be used to sign digital documents and signatures and sending payments on the blockchain and encrypted information.

1 Like

Right! :grinning: Thank you. But for a dedicated purpose you could share your private key with trusted parties. The word “never” is a strong word :wink:

1.   A private key is a randomly generated number that is secret and not revealed publicly.  The public key is derived from that private key and is freely distributed publicly.  While the public key is derived from the private key, the private key cannot be derived from the public key.

2.   Encryption and Digital signatures
1 Like
  1. A private key is a secret number that is then hashed to create a public key. The public key cannot be used to derive the private key. In the case of bitcoin, a public key can be used to determine the destination address of information sent and a private key is used as a signature to submit the transmission of the information to an address.

  2. Public keys can be used to define an address where information can be sent and can be used verify the address in which information was sent.

1 Like

Well its never a good practice to share your private key :slight_smile: in case of Bitcoin if you want someone else to be able to spend the funds on an UTXO, its better to create a multisig transaction :slight_smile:

1 Like

Homework on Public and Private Keys - Questions

Describe the concept of public and private key with your own words.
Private key is a random generated number with gives total controle over the crypto holdings. If you have the private keys you can send crypto from you adress.

Public key is a number generated from the private key. The public key never transparancy on the blockchain. With the private oef hou can check balance, transaction data, amounts of transactions and reciving adresses.

What 2 use-cases can public key cryptography be used for?
The public key is used for Encryption and digital signature

1 Like
  1. A private key is known only by the user and is used to decrypt data received from others, it is also used to “sign” the data and verify its receipt.
  2. Encrypted messages as well as digital signatures are two use cases for public key cryptography.
1 Like
  1. Describe the concept of public and private key with your own words.
    A private key is a very large random number, and it is kept secret by its owner. The owner can derive a corresponding public key through an algorithm. The public key can be shared with other people. The private key and the public key are mathematically related, and the two recognizes each other. However, it is a one-way conversion so that it is impossible to revert a public key to its original private key.

  2. What 2 use-cases can public key cryptography be used for?
    Public key cryptography has been used for encryption where messages to a private key owner can be encrypted with the public key. The message can only be decrypted by the private key.
    Public key cryptography has also been used for digital signature. A private key owner can digitally sign a piece of information with the private key. The private key is scrambled by an algorithm so that it is impossible to get the private key from manipulating the digitally signed information. Someone with the corresponding public key, which recognizes the private key, can verify that the information is indeed signed by the private key owner.

1 Like
  1. Private key is a random number (for BTC it‘s 256 Bit) which the owner should keep always secretly. I fit gets lost or hacked, the loss of funds is more than likely. The public key is derived from the private key and is shared with others for encrypted messages or transactions.

2.Encryption: the receiver is able to check if the sender is in possession of the respective private key. The receiver himself is does not have it.
Digital signature: Sender uses the public key for sending digital signature.

You switched these two :slight_smile:
Encryption is when a sender encrypts the data so only the owner of the private key can read it
Digital signature is so the receiver can check using the public key the sender actually signed a document :slight_smile:

Thank you so much, I didn’t took enough attention and miserably mixed it up. So I reviewed this topic. It is the fundamental principle of Blockchain security.

1 Like
  1. The public key/address you hand out to people to receive cryptos, the private key you never give anyone as this is the key to access your cryptos in your wallet or on the blockchain.

  2. Encryption and digital signature

1 Like
  1. Describe the concept of public and private key with your own words.
    A private key is a number randomly generated by the computer and you are the only one to know that number (unless you share it of course). From that number (private key) will be generated/computed your public key. Anyone can see your public key and each public key is connected to a unique private key.
  2. What 2 use-cases can public key cryptography be used for?
    Case 1: When A sends money to B. B will know by the public key shown that it was A who sent the money.
    Case 2: When a message is sent from A to B. Whether the message is encrypted or not, B will know who sent the message because of the public key equivalent to a digital signature that can be only connected to one person.
  1. private key is your own personal key (used to unencrypt messages sent to you with your public key, and it is also used as a signature with your bitcoin).
  2. public key is used as a tool for others to send you encrypted messages, and it is also used in order to generate a bitcoin address.
1 Like