Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Example of encryption key pair algorithm?

  1. Jun 1, 2012 #1
    Greetings,

    I know that when encrypting something with the public key of a key pair, the encrypted data can only be decrypted with the private key of the pair. And it can not be decrypted with the public key that was just used.

    I do not understand how it is possible to perform a mathematical operation on a number, but then not be able to reverse the operation to get the original value.

    How is it that, knowing exactly what operations were performed, you can not undo them and get the original value?

    Can someone give a very simple example of such an operation?

    Thanks
     
    Last edited: Jun 1, 2012
  2. jcsd
  3. Jun 1, 2012 #2

    DrGreg

    User Avatar
    Science Advisor
    Gold Member

    You might try reading One-way function. A simple example: multiplying two prime numbers together is easy, but if you are given the product and asked to find the two prime factors it is very difficult (i.e. takes a long time) if the number is a very, very large one.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Example of encryption key pair algorithm?
Loading...