Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Work Issues
  4. [Solved] Private/Public Key Pair, I'm unsure, please help to clarify

[Solved] Private/Public Key Pair, I'm unsure, please help to clarify

Scheduled Pinned Locked Moved Work Issues
helpquestion
6 Posts 3 Posters 14 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    I'm unsure if I understood everything correctly. Is the following correct: 1. A Text encrypted with PRIVATE_KEY can be decrypted _only_(?) with PUBLIC_KEY 2. A Text encrypted with PUBLIC_KEY can be decrypted _only_ with PRIVATE_KEY Thank you very much for help and sorry if the question is stupid...

    It does not solve my Problem, but it answers my question

    Richard DeemingR N 2 Replies Last reply
    0
    • L Lost User

      I'm unsure if I understood everything correctly. Is the following correct: 1. A Text encrypted with PRIVATE_KEY can be decrypted _only_(?) with PUBLIC_KEY 2. A Text encrypted with PUBLIC_KEY can be decrypted _only_ with PRIVATE_KEY Thank you very much for help and sorry if the question is stupid...

      It does not solve my Problem, but it answers my question

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Yes, those two statements are correct.


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      L 1 Reply Last reply
      0
      • Richard DeemingR Richard Deeming

        Yes, those two statements are correct.


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Thank you very much!:thumbsup:

        It does not solve my Problem, but it answers my question

        1 Reply Last reply
        0
        • L Lost User

          I'm unsure if I understood everything correctly. Is the following correct: 1. A Text encrypted with PRIVATE_KEY can be decrypted _only_(?) with PUBLIC_KEY 2. A Text encrypted with PUBLIC_KEY can be decrypted _only_ with PRIVATE_KEY Thank you very much for help and sorry if the question is stupid...

          It does not solve my Problem, but it answers my question

          N Offline
          N Offline
          Nathan Minier
          wrote on last edited by
          #4

          Close. Depending on your use case, you will have a PUBLIC ENCRYPT and a PUBLIC DECRYPT key. These are completely separate key sets that are associated with PRIVATE DECRYPT and PRIVATE ENCRYPT keys respectively. Generally, you encrypt a hash with your PRIVATE ENCRYPT key to provide a digital signature, as it can be verified using your PUBLIC DECRYPT key. For actual message encryption, your PUBLIC ENCRYPT key will be used to encrypt it so that only your PRIVATE DECRYPT key can decrypt it. With the PKI model, you can freely hand out your public keys (or they are stored in a central repository, such as on a domain) while your private keys needs to be properly secured to prevent compromise.

          "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

          L 1 Reply Last reply
          0
          • N Nathan Minier

            Close. Depending on your use case, you will have a PUBLIC ENCRYPT and a PUBLIC DECRYPT key. These are completely separate key sets that are associated with PRIVATE DECRYPT and PRIVATE ENCRYPT keys respectively. Generally, you encrypt a hash with your PRIVATE ENCRYPT key to provide a digital signature, as it can be verified using your PUBLIC DECRYPT key. For actual message encryption, your PUBLIC ENCRYPT key will be used to encrypt it so that only your PRIVATE DECRYPT key can decrypt it. With the PKI model, you can freely hand out your public keys (or they are stored in a central repository, such as on a domain) while your private keys needs to be properly secured to prevent compromise.

            "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Thank you very much :thumbsup:

            It does not solve my Problem, but it answers my question

            L 1 Reply Last reply
            0
            • L Lost User

              Thank you very much :thumbsup:

              It does not solve my Problem, but it answers my question

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Hi ! The logical to remember with Public , Private Keys is about 2 crypting channels. From both sides, 2 differents Keys will operate. Like all cryptos, one can be reverse , not the other. But the A to B, B to A must transmit all datas, and verify them. Look at what can be switch : ( What is surrounding ? ) Computer A , Computer B Keys A , Key B Private function crypto Public function crypto Clock from A(all in) , Clock from B(all in) checksum A , checksum B while you ensure no errors of receiver . The work is all done. It's "pair" working.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups