From 19533a17aa55fafc70d0a385928e785cb50e1ebc Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期五, 30 七月 2021 02:05:14 +0800 Subject: [PATCH] 爱奇艺视频更新 --- src/test/java/com/hxh/spring/test/DES.java | 21 +++++++++++++++++---- 1 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/test/java/com/hxh/spring/test/DES.java b/src/test/java/com/hxh/spring/test/DES.java index 2a88b78..e8cf3e0 100644 --- a/src/test/java/com/hxh/spring/test/DES.java +++ b/src/test/java/com/hxh/spring/test/DES.java @@ -1,10 +1,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 content = "iDp+mknN2urZPWPAdmBTv1ME3YqW7QwsTxe0hnynmQH+utoyj8ZggxDJEPReIgrf6FnSrxRjzV+wAgBYINqPqcWWZ6pPO1HkXg52Y5au+U3gHLqGYjdHSh2cy10asiC2mmphz5KhUBx6b05Kgfl6QbmFGe/zHLW7hAnvinMmlCQGpUqH6atUirKRqCdBvaHChMjinB1gL7xMeD6hHDwa7IO7P2Xsyme3TT9Bd6lWvSRGHhqCSuCQuO+XJlqWQU6ZGiRu8uq1qvOuTEHMre6h9tTucWfJk5RkCNXeasUbPbiP1o4wXdE0N6toS5Udt5NyKXj48g8w9qrh74rgMgGPWbz7iIYtTXX3mvdpR2+6wYRzF100L9URxBugz3roOxFz2r6ItNkCG7CkLuD7ywaHVMkalytDU1ts"; - System.out.println(DESUtil.decode(content)); } + @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)); + + } } -- Gitblit v1.8.0