Is is possible to get the private key for RSA encryption given:
Public key:
n=14471312083473289027
e=17
I found out that:
p=2612029591
q=5540255797
Now, how do I find d
??
Is is possible to get the private key for RSA encryption given:
Public key:
n=14471312083473289027
e=17
I found out that:
p=2612029591
q=5540255797
Now, how do I find d
??
Private key is an integer d such that e*d = 1 modulo both p-1 and q-1. Details are given in the second answer (the one with more than 30 upvotes) to the question you link to.
RSA Practitioner:
e.d=1+k.@n
where k=1,e=17,n=14471312083473289027;
find the dataype for n, you will get d ans!
class temp{
public static void main(String[] args){
int d,e,inc=1;
datatype n=14471312083473289027;
e=17;
n=60;
do{
d=(1+(inc*n))%e;
inc++;
}while(d!=0);
System.out.println(inc);
}
}
After getting output, add inc to following formula:
then ans=[((inc-1)*k)+1]/e;