Skip to main content
Fixed grammar+Adding "shors-algorithm" tag.
Source Link

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:

enter image description here

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.

If RSA is to create a public private key pair and encryption is performed on plain test P to create cipher text 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 key are secret has come up a few time 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 text 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 modules base would be publicly know 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 text (known only to party Alice)
let K = key (known only to party Bob)
let U = intermediate key (known only to party Alice)

Alicd 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 because the keys commute.

Schematic:

enter image description here

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 travelling through them. I hope this is a clear explanation of this process. I'm not familiar with any traditional way of drawing these sort 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.

If RSA is to create a public-private key pair and encryption is performed on plain test P to create ciphertext 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 keys are secret has come up a few times 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 ciphertext 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 module base would be publicly known 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 = ciphertext (known only to party Alice)
let K = key (known only to party Bob)
let U = intermediate key (known only to party Alice)

Alice 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 involvement of the intermediate key because the keys commute.

Schematic:

enter image description here

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 arrows represent encryption of the text traveling through them. I hope this is a clear explanation of this process. I'm not familiar with any traditional way of drawing these sorts 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.

HTTPS'ed image to avoid mixed content warnings and align with new imgur practice
Source Link
SEJPM
  • 46.4k
  • 9
  • 102
  • 210
Mod Moved Comments To Chat
added 712 characters in body
Source Link
Mathew
  • 325
  • 2
  • 9

If RSA is to create a public private key pair and encryption is performed on plain test P to create cipher text 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 key are secret has come up a few time 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 text 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 modules base would be publicly know 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 AAlice)
let C = cipher text (known only to party AAlice)
let K = key (known only to party BBob)
let U = intermediate key (known only to party AAlice)

AAlicd encrypts P with U and sends it to BBob. BBob encrypts this with K and sends this back to AAlice. 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 because the keys commute.

Schematic:

enter image description here

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 travelling through them. I hope this is a clear explanation of this process. I'm not familiar with any traditional way of drawing these sort 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.

If RSA is to create a public private key pair and encryption is performed on plain test P to create cipher text 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 key are secret has come up a few time 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 text 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 modules base would be publicly know 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 A)
let C = cipher text (known only to party A)
let K = key (known only to party B)
let U = intermediate key (known only to party A)

A encrypts P with U and sends it to B. B encrypts this with K and sends this back to A. 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 because the keys commute.

If RSA is to create a public private key pair and encryption is performed on plain test P to create cipher text 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 key are secret has come up a few time 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 text 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 modules base would be publicly know 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 text (known only to party Alice)
let K = key (known only to party Bob)
let U = intermediate key (known only to party Alice)

Alicd 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 because the keys commute.

Schematic:

enter image description here

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 travelling through them. I hope this is a clear explanation of this process. I'm not familiar with any traditional way of drawing these sort 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.

added 688 characters in body
Source Link
Mathew
  • 325
  • 2
  • 9
Loading
edited tags; edited title
Link
otus
  • 32.4k
  • 5
  • 73
  • 167
Loading
Tweeted twitter.com/StackCrypto/status/741788230677319681
added 632 characters in body
Source Link
Mathew
  • 325
  • 2
  • 9
Loading
Source Link
Mathew
  • 325
  • 2
  • 9
Loading