Decrypting Multi-Prime RSA with e, N, and factors of N givenWhat makes RSA secure by using prime numbers?Knowing N and a relationship between the 2 prime numbers(p and q) find p and q generated with RSACan multi-prime RSA be used to create an abuse-resistant lawful interception mechanism?What's wrong with RSA and OpenSSL?Is it possible to check if a number is the product of two primes without factorizing it?
Why is Trump releasing or not of his taxes such a big deal?
Can you use a virtual credit card to withdraw money from an ATM in the UK?
How to treat unhandled exceptions? (Terminate the application vs. Keep it alive)
Remove last letter 4 times, get a real word each time, starting word is a car model
Translation of: 美しいと思ってしまったのだ
How to snip same part of screen as last time?
Does a restocking fee still qualify as a business expense?
How do you handle simultaneous damage when one type is absorbed and not the other?
Unexpected exec permission from mmap when assembly files included in the project
If we should encrypt the message rather than the method of transfer, why do we care about wifi security? Is this just security theatre?
How do I copy an installed steam game on my PC to an external hard drive?
Do more Americans want the Bidens investigated than Trump impeached?
Meaning of 'pound' in "felt a fury that was not his own pound through his body"
Is it safe to pay bills over satellite internet?
Easy way of generating a 50-150W load @12V
What are the branches of statistics?
What is the gold linker?
Which culture used no personal names?
Accidental duration in measureless music
Are there 99 percentiles, or 100 percentiles? And are they groups of numbers, or dividers or pointers to individual numbers?
Find number 8 with the least number of tries
How do I reset the TSA-unlocked indicator on my lock?
How to prove that invoices are really unpaid?
Does my protagonist need to be the most important character?
Decrypting Multi-Prime RSA with e, N, and factors of N given
What makes RSA secure by using prime numbers?Knowing N and a relationship between the 2 prime numbers(p and q) find p and q generated with RSACan multi-prime RSA be used to create an abuse-resistant lawful interception mechanism?What's wrong with RSA and OpenSSL?Is it possible to check if a number is the product of two primes without factorizing it?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
.everyonelovesstackoverflowposition:absolute;height:1px;width:1px;opacity:0;top:0;left:0;pointer-events:none;
$begingroup$
I was wondering if there was any way to compute the private key $d$ when knowing only $e$ and $N$, and being able to factor $N$ as 4 prime numbers $p, q, r$ and $s$. I've been searching for days and I can't find any way.
rsa multi-prime-rsa
New contributor
$endgroup$
add a comment
|
$begingroup$
I was wondering if there was any way to compute the private key $d$ when knowing only $e$ and $N$, and being able to factor $N$ as 4 prime numbers $p, q, r$ and $s$. I've been searching for days and I can't find any way.
rsa multi-prime-rsa
New contributor
$endgroup$
$begingroup$
"being able to factor $N$ as 4 prime numbers $p, q, r$ and $s$" - does this mean that you know/can find the values of $p, q, r, s$, or merely that you know that $N$ has 4 factors?
$endgroup$
– Ella Rose♦
8 hours ago
$begingroup$
I have found p, q, r and s. But I have no clue what way to go next. I've tried calculating the totient but I don't think that's the good way because I didn't get the answer I wanted.
$endgroup$
– Dominic
8 hours ago
$begingroup$
Thank you!! I will try it
$endgroup$
– Dominic
8 hours ago
3
$begingroup$
@fgrieu: that sounds like an answer; why don't you post it as one...
$endgroup$
– poncho
7 hours ago
add a comment
|
$begingroup$
I was wondering if there was any way to compute the private key $d$ when knowing only $e$ and $N$, and being able to factor $N$ as 4 prime numbers $p, q, r$ and $s$. I've been searching for days and I can't find any way.
rsa multi-prime-rsa
New contributor
$endgroup$
I was wondering if there was any way to compute the private key $d$ when knowing only $e$ and $N$, and being able to factor $N$ as 4 prime numbers $p, q, r$ and $s$. I've been searching for days and I can't find any way.
rsa multi-prime-rsa
rsa multi-prime-rsa
New contributor
New contributor
edited 5 hours ago
kelalaka
11.2k3 gold badges29 silver badges55 bronze badges
11.2k3 gold badges29 silver badges55 bronze badges
New contributor
asked 8 hours ago
DominicDominic
61 bronze badge
61 bronze badge
New contributor
New contributor
$begingroup$
"being able to factor $N$ as 4 prime numbers $p, q, r$ and $s$" - does this mean that you know/can find the values of $p, q, r, s$, or merely that you know that $N$ has 4 factors?
$endgroup$
– Ella Rose♦
8 hours ago
$begingroup$
I have found p, q, r and s. But I have no clue what way to go next. I've tried calculating the totient but I don't think that's the good way because I didn't get the answer I wanted.
$endgroup$
– Dominic
8 hours ago
$begingroup$
Thank you!! I will try it
$endgroup$
– Dominic
8 hours ago
3
$begingroup$
@fgrieu: that sounds like an answer; why don't you post it as one...
$endgroup$
– poncho
7 hours ago
add a comment
|
$begingroup$
"being able to factor $N$ as 4 prime numbers $p, q, r$ and $s$" - does this mean that you know/can find the values of $p, q, r, s$, or merely that you know that $N$ has 4 factors?
$endgroup$
– Ella Rose♦
8 hours ago
$begingroup$
I have found p, q, r and s. But I have no clue what way to go next. I've tried calculating the totient but I don't think that's the good way because I didn't get the answer I wanted.
$endgroup$
– Dominic
8 hours ago
$begingroup$
Thank you!! I will try it
$endgroup$
– Dominic
8 hours ago
3
$begingroup$
@fgrieu: that sounds like an answer; why don't you post it as one...
$endgroup$
– poncho
7 hours ago
$begingroup$
"being able to factor $N$ as 4 prime numbers $p, q, r$ and $s$" - does this mean that you know/can find the values of $p, q, r, s$, or merely that you know that $N$ has 4 factors?
$endgroup$
– Ella Rose♦
8 hours ago
$begingroup$
"being able to factor $N$ as 4 prime numbers $p, q, r$ and $s$" - does this mean that you know/can find the values of $p, q, r, s$, or merely that you know that $N$ has 4 factors?
$endgroup$
– Ella Rose♦
8 hours ago
$begingroup$
I have found p, q, r and s. But I have no clue what way to go next. I've tried calculating the totient but I don't think that's the good way because I didn't get the answer I wanted.
$endgroup$
– Dominic
8 hours ago
$begingroup$
I have found p, q, r and s. But I have no clue what way to go next. I've tried calculating the totient but I don't think that's the good way because I didn't get the answer I wanted.
$endgroup$
– Dominic
8 hours ago
$begingroup$
Thank you!! I will try it
$endgroup$
– Dominic
8 hours ago
$begingroup$
Thank you!! I will try it
$endgroup$
– Dominic
8 hours ago
3
3
$begingroup$
@fgrieu: that sounds like an answer; why don't you post it as one...
$endgroup$
– poncho
7 hours ago
$begingroup$
@fgrieu: that sounds like an answer; why don't you post it as one...
$endgroup$
– poncho
7 hours ago
add a comment
|
1 Answer
1
active
oldest
votes
$begingroup$
In multi-prime RSA, with the factorization of $N$ into primes $p$, $q$, $r$, $s$ known, computing $d$ can be done as usual, e.g.$$dgets e^-1bmodoperatornamelcm(p-1,q-1,r-1,s-1)$$or$$dgets e^-1bmod((p-1)(q-1)(r-1)(s-1))$$
Note: the rationale of using multi-prime RSA is to obtain speedups that require not using $d$; but using $d$ will work anyway, only slower.
$endgroup$
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "281"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Dominic is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcrypto.stackexchange.com%2fquestions%2f74891%2fdecrypting-multi-prime-rsa-with-e-n-and-factors-of-n-given%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
In multi-prime RSA, with the factorization of $N$ into primes $p$, $q$, $r$, $s$ known, computing $d$ can be done as usual, e.g.$$dgets e^-1bmodoperatornamelcm(p-1,q-1,r-1,s-1)$$or$$dgets e^-1bmod((p-1)(q-1)(r-1)(s-1))$$
Note: the rationale of using multi-prime RSA is to obtain speedups that require not using $d$; but using $d$ will work anyway, only slower.
$endgroup$
add a comment
|
$begingroup$
In multi-prime RSA, with the factorization of $N$ into primes $p$, $q$, $r$, $s$ known, computing $d$ can be done as usual, e.g.$$dgets e^-1bmodoperatornamelcm(p-1,q-1,r-1,s-1)$$or$$dgets e^-1bmod((p-1)(q-1)(r-1)(s-1))$$
Note: the rationale of using multi-prime RSA is to obtain speedups that require not using $d$; but using $d$ will work anyway, only slower.
$endgroup$
add a comment
|
$begingroup$
In multi-prime RSA, with the factorization of $N$ into primes $p$, $q$, $r$, $s$ known, computing $d$ can be done as usual, e.g.$$dgets e^-1bmodoperatornamelcm(p-1,q-1,r-1,s-1)$$or$$dgets e^-1bmod((p-1)(q-1)(r-1)(s-1))$$
Note: the rationale of using multi-prime RSA is to obtain speedups that require not using $d$; but using $d$ will work anyway, only slower.
$endgroup$
In multi-prime RSA, with the factorization of $N$ into primes $p$, $q$, $r$, $s$ known, computing $d$ can be done as usual, e.g.$$dgets e^-1bmodoperatornamelcm(p-1,q-1,r-1,s-1)$$or$$dgets e^-1bmod((p-1)(q-1)(r-1)(s-1))$$
Note: the rationale of using multi-prime RSA is to obtain speedups that require not using $d$; but using $d$ will work anyway, only slower.
edited 5 hours ago
kelalaka
11.2k3 gold badges29 silver badges55 bronze badges
11.2k3 gold badges29 silver badges55 bronze badges
answered 7 hours ago
fgrieufgrieu
86.4k7 gold badges192 silver badges378 bronze badges
86.4k7 gold badges192 silver badges378 bronze badges
add a comment
|
add a comment
|
Dominic is a new contributor. Be nice, and check out our Code of Conduct.
Dominic is a new contributor. Be nice, and check out our Code of Conduct.
Dominic is a new contributor. Be nice, and check out our Code of Conduct.
Dominic is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Cryptography Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcrypto.stackexchange.com%2fquestions%2f74891%2fdecrypting-multi-prime-rsa-with-e-n-and-factors-of-n-given%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
"being able to factor $N$ as 4 prime numbers $p, q, r$ and $s$" - does this mean that you know/can find the values of $p, q, r, s$, or merely that you know that $N$ has 4 factors?
$endgroup$
– Ella Rose♦
8 hours ago
$begingroup$
I have found p, q, r and s. But I have no clue what way to go next. I've tried calculating the totient but I don't think that's the good way because I didn't get the answer I wanted.
$endgroup$
– Dominic
8 hours ago
$begingroup$
Thank you!! I will try it
$endgroup$
– Dominic
8 hours ago
3
$begingroup$
@fgrieu: that sounds like an answer; why don't you post it as one...
$endgroup$
– poncho
7 hours ago