This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedReader; | |
import java.io.FileReader; | |
import java.math.BigInteger; | |
public class AttackRSA { | |
public static void main(String[] args) { | |
String filename = "input.txt"; | |
BigInteger[] N = new BigInteger[3]; | |
BigInteger[] e = new BigInteger[3]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.math.BigInteger; | |
import java.util.BitSet; | |
public class EEA { | |
public static BigInteger[] EEA(BigInteger a, BigInteger b) { | |
// Note: as you can see in the test suite, | |
// your function should work for any (positive) value of a and b. | |
//We need to redo EEA with BigIntegers from previous Task |