if (args.length != 2) {
usage();
System.exit(1);
}
CipherAlgorithm cipherAlgorithm = null;
try {
cipherAlgorithm = CipherAlgorithm.valueOf(args[1]);
} catch (IllegalArgumentException e) {
System.err.println("Unsupported algorithm " + args[1]);
usage();