import java.io.*;

public class ComboBreaker
{
    public static final String DATA_FILE = "input.txt";

    public static void main (String[] args)
    {
        boolean debug = false;

        for (int i = 0; i < args.length; i++)
        {
            if ("-help".equals(args[i]))
            {
                System.out.println("Usage: [-debug] [-help]");
                System.exit(0);
            }

            if ("-debug".equals(args[i]))
                debug = true;
        }

        BufferedReader reader = new BufferedReader(new FileReader(DATA_FILE));

        long cardPublicKey = Long.parseLong(reader.readLine());
        long doorPublicKey = Long.parseLong(reader.readLine());

        Handshake hs = new Handshake(debug);

        System.out.println("Encryption key: "+hs.encryptionKey(cardPublicKey, doorPublicKey));
    }
}

@@ -140,16 +140,33 @@
 %5B%5D args)
+ throws Exception
 %0A    %7B%0A 

Update ComboBreaker.java