If RSA is to create a public private-private key pair and encryption is performed on plain test P to create cipher textciphertext C, given P and C could Shor's algorithm be used to find either of the public and private keys? You have both the plain text and cipher text but neither of the keys.
The fact that it seems pointless to use RSA if both the public and private keykeys are secret has come up a few timetimes now so let me explain. I would like to use RSA because it has the property that if plain text P is encrypted with key K1 and the result is encrypted with key K2, assuming K1 and K2 have the same modulus base, this will produce the same cipher textciphertext as encrypting P with K2 then K1.
If there is another more secure encryption scheme that has this property then I would be very interested in knowing about it. Otherwise, I will need to use RSA which is why I am asking about RSA's strength against quantum computers.
Also, the modulesmodule base would be publicly knowknown as well. The only secret information would be the exponents in the key pair.
Purpose
It has been asked what the value of key commutativity is. It allows one party to encrypt a secret text P (known only to party A) with the secret key K of another part (known only to party B). This is how:
let P = plain text (known only to party Alice)
let C = cipher textciphertext (known only to party Alice)
let K = key (known only to party Bob)
let U = intermediate key (known only to party Alice)
AlicdAlice encrypts P with U and sends it to Bob. Bob encrypts this with K and sends this back to Alice. A removes the initial encryption (using U's decrypting pair) getting C.
C is the same as if P were encrypted with K without the intermediate keys involvement of the intermediate key because the keys commute.
Schematic:
Alice and Bob can only see things that are on their "side" (both the keys and the texts). the wall of equal signs represents this separation. the arrows represent text being transferred from one place to another and the keys intersecting the the arrows represent encryption of the text travellingtraveling through them. I hope this is a clear explanation of this process. I'm not familiar with any traditional way of drawing these sortsorts of schematics. I someone could direct me to some information on how to draw one I would be happy to learn it and rewrite my schematic in that format.