Skip to main content
polish
Source Link
kelalaka
  • 49.5k
  • 12
  • 119
  • 205

Here is some information we got :

We know the value of $n$  , with size 1043$1043$.

We know the value of $p$ (size 20$20$) and $q$ (size 1023$1023$) as the factors.

$e$ = 65537.$e = 65537.$

$phi(n)$$\varphi(n)$ = $(q-1)*(p-1)$$(q-1)(p-1)$

When iI calculated GCD$\gcd$ and modinv$\text{modinv}$, iI got :

GCD($e$,$phi(n)$) = 65537$\gcd(e,\varphi(n)) = 65537$

$modinv(e,phi(n)) = 1 $$modinv(e,\varphi(n)) = 1 $

So we can tell that they are not relatively prime.

So, how to compute the d, and get the value of m?

I'm not that good with math, so iI cant understanding well the theory.

so can anyone please make an example implementation or write thea clear forumula pleaseformula?

Thanks.

Here is some information we got :

We know the value of $n$  , with size 1043.

We know the value of $p$ (size 20) and $q$ (size 1023) as the factors.

$e$ = 65537.

$phi(n)$ = $(q-1)*(p-1)$

When i calculated GCD and modinv, i got :

GCD($e$,$phi(n)$) = 65537

$modinv(e,phi(n)) = 1 $

So we can tell that they are not relatively prime.

So, how to compute the d, and get the value of m?

I'm not that good with math, so i cant understanding well the theory.

so can anyone please make an example implementation or write the clear forumula please?

Thanks.

Here is some information we got :

We know the value of $n$, with size $1043$.

We know the value of $p$ (size $20$) and $q$ (size $1023$) as the factors.

$e = 65537.$

$\varphi(n)$ = $(q-1)(p-1)$

When I calculated $\gcd$ and $\text{modinv}$, I got :

$\gcd(e,\varphi(n)) = 65537$

$modinv(e,\varphi(n)) = 1 $

So we can tell that they are not relatively prime.

So, how to compute the d, and get the value of m?

I'm not that good with math, so I cant understanding well the theory.

so can anyone please make an example implementation or write a clear formula?

added 26 characters in body
Source Link

Here is some information we got :

We know the value of $n$ , with size 1043.

We know the value of $p$ (size 20) and $q$ (size 1023) as the factors.

$e$ = 65537.

$phi(n)$ = $(q-1)*(p-1)$

From thatWhen i calculated GCD and modinv, wei got :

GCD($e$,$phi(n)$) = 65537

$modinv(e,phi(n)) = 1 $

So we can tell that they are not relatively prime.

So, how to compute the d, and get the value of m?

I'm not that good with math, so i cant understanding well the theory.

so can anyone please make an example implementation or write the clear forumula please?

Thanks.

Here is some information we got :

We know the value of $n$ , with size 1043.

We know the value of $p$ (size 20) and $q$ (size 1023) as the factors.

$e$ = 65537.

$phi(n)$ = $(q-1)*(p-1)$

From that, we got :

GCD($e$,$phi(n)$) = 65537

$modinv(e,phi(n)) = 1 $

So we can tell that they are not relatively prime.

So, how to compute the d, and get the value of m?

I'm not that good with math, so i cant understanding well the theory.

so can anyone please make an example implementation or write the clear forumula please?

Thanks.

Here is some information we got :

We know the value of $n$ , with size 1043.

We know the value of $p$ (size 20) and $q$ (size 1023) as the factors.

$e$ = 65537.

$phi(n)$ = $(q-1)*(p-1)$

When i calculated GCD and modinv, i got :

GCD($e$,$phi(n)$) = 65537

$modinv(e,phi(n)) = 1 $

So we can tell that they are not relatively prime.

So, how to compute the d, and get the value of m?

I'm not that good with math, so i cant understanding well the theory.

so can anyone please make an example implementation or write the clear forumula please?

Thanks.

added 6 characters in body
Source Link

Here is some information we got :

We know the value of $n$ , with size 1043. We

We know the value of $p$ (size 20) and $q$ (size 1023) as the factors.   

$e$ = 65537.   

$phi(n)$ = $(q-1)*(p-1)$

From that, we got :

GCD($e$,$phi(n)$) = 65537

$modinv(e,phi(n)) = 1 $

So we can tell that they are not relatively prime.

So, how to compute the d, and get the value of m?

I'm not that good with math, so i cancant understanding well the theory.

so can anyone please make an example implementation or write the clear forumula please?

Thanks.

Here is some information we got :

We know the value of $n$ , with size 1043. We know the value of $p$ (size 20) and $q$ (size 1023) as the factors.  $e$ = 65537.  $phi(n)$ = $(q-1)*(p-1)$

From that, we got :

GCD($e$,$phi(n)$) = 65537

$modinv(e,phi(n)) = 1 $

So we can tell that they are not relatively prime.

So, how to compute the d, and get the value of m?

I'm not that good with math, so i can understanding well the theory.

so can anyone please make an example implementation or write the clear forumula please?

Thanks.

Here is some information we got :

We know the value of $n$ , with size 1043.

We know the value of $p$ (size 20) and $q$ (size 1023) as the factors. 

$e$ = 65537. 

$phi(n)$ = $(q-1)*(p-1)$

From that, we got :

GCD($e$,$phi(n)$) = 65537

$modinv(e,phi(n)) = 1 $

So we can tell that they are not relatively prime.

So, how to compute the d, and get the value of m?

I'm not that good with math, so i cant understanding well the theory.

so can anyone please make an example implementation or write the clear forumula please?

Thanks.

Source Link
Loading