admin
2021-07-29 0fc0456a587d985fda71c66b9764fe1d5e3c6421
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.hxh.spring.test;
 
import com.yeshi.buwan.util.DESUtil;
import com.yeshi.buwan.util.FileUtil;
import org.junit.Test;
 
import java.io.IOException;
 
public class DES {
    @org.junit.Test
    public void test1() {
 
        String st = "iDp+mknN2urZPWPAdmBTv1ME3YqW7QwsBUCzbtjAkAje04mhRA8Wv6RAdFDJIZmEp2WT2ZmB4yJ2drO/wgzaiw==";
        System.out.println(DESUtil.decode(st));
    }
 
    @Test
    public void test2() throws IOException {
        String text = FileUtil.readTxt("C:\\Users\\Administrator\\Desktop\\切片缓存\\新建文本文档.txt");
        System.out.println(DESUtil.decode(text));
 
    }
}