/* * DecryptHandler.java * * Created on den 8 januari 2005, 14:55 */ import javax.crypto.Cipher; /** * * @author Henrik Johansson */ public class DecryptHandler { /** Creates a new instance of DecryptHandler */ public DecryptHandler() { } /** * @param args the command line arguments */ public static void main(String[] args) { if(args.length != 3) { System.err.println("EncryptHandler måste anropas med tre argument, ."); System.exit(1); } EncryptDecrypt ed = new EncryptDecrypt(args[0], args[1], args[2], Cipher.DECRYPT_MODE); ed.encrypt(); } }