Beruflich Dokumente
Kultur Dokumente
Roll no.:-44*/
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigInteger;
import java.net.*;
public class RSA
{
public RSA() throws NumberFormatException, IOException
{
int i,j,p,q,Fi,temp,tempF,flag=1;
long e = 0,d = 0;
BigInteger n;
BigInteger PT = new BigInteger("9");
BigInteger CT = BigInteger.ONE;
p=11;
q=13;
n=BigInteger.valueOf(p*q);
Fi=((p-1)*(q-1));
System.out.println("\np="+p+"\nq="+q+"\nn="+n+"\nFi="+Fi);