1 说明 2 完整代码 public static void main(String[] args) throws IOException { String str = des3EncodeECB("Key3Des","@##h586ellAAon你好"); System.out.println(str); System.out.println(des3DecodeECB("Key3Des",str)); } private static final String DES3 = "DESede"; /** * ...