IO input = new IO();
/AESMatrix cipher = machine.encrypt(new AESMatrix(plain), new AESMatrix(key));
while (i < args.length && args[i].startsWith("-")) {
arg = args[i++];
if (arg.equals("-e")) {
System.out.println("encryption mode on");
}
else if (arg.equals("-d")) {
System.out.println("decryption mode on");
}
else if (arg.equals("-plaintext")) {
input.openPlaintext();
}
else if (arg.equals("-keytext")) {
input.openKeytext();
}
}Add a code snippet to your website: www.paste.org