Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
searchhotcrawler
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhiwei
searchhotcrawler
Commits
b578a40a
Commit
b578a40a
authored
Oct 12, 2022
by
chenweitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
升级jdk11兼容
parent
4987c3f7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
17 deletions
+3
-17
pom.xml
+3
-0
src/main/java/com/zhiwei/searchhotcrawler/util/AESUtils.java
+0
-7
src/test/java/weiboTest/WeiboTopInfoTest.java
+0
-10
No files found.
pom.xml
View file @
b578a40a
...
...
@@ -14,6 +14,9 @@
<log4j.version>
2.15.0
</log4j.version>
<commons-lang3.version>
3.12.0
</commons-lang3.version>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.target>
8
</maven.compiler.target>
</properties>
<developers>
...
...
src/main/java/com/zhiwei/searchhotcrawler/util/AESUtils.java
View file @
b578a40a
package
com
.
zhiwei
.
searchhotcrawler
.
util
;
import
org.apache.commons.codec.binary.Base64
;
import
org.apache.commons.lang3.StringUtils
;
import
sun.misc.BASE64Decoder
;
import
java.io.UnsupportedEncodingException
;
import
java.math.BigInteger
;
import
java.security.SecureRandom
;
import
java.util.Arrays
;
import
java.util.Objects
;
import
javax.crypto.Cipher
;
import
javax.crypto.KeyGenerator
;
import
javax.crypto.spec.IvParameterSpec
;
import
javax.crypto.spec.SecretKeySpec
;
...
...
src/test/java/weiboTest/WeiboTopInfoTest.java
View file @
b578a40a
...
...
@@ -7,24 +7,14 @@ import com.zhiwei.http.boot.Response;
import
com.zhiwei.http.proxy.ProxySupplier
;
import
com.zhiwei.http.util.RequestUtils
;
import
com.zhiwei.searchhotcrawler.util.AESUtils
;
import
com.zhiwei.searchhotcrawler.util.HttpClientUtils
;
import
okhttp3.Request
;
import
org.apache.commons.codec.DecoderException
;
import
org.apache.commons.codec.binary.Hex
;
import
org.junit.Test
;
import
sun.misc.BASE64Decoder
;
import
javax.crypto.Cipher
;
import
javax.crypto.spec.IvParameterSpec
;
import
javax.crypto.spec.SecretKeySpec
;
import
java.beans.Encoder
;
import
java.io.IOException
;
import
java.io.UnsupportedEncodingException
;
import
java.net.Proxy
;
import
java.net.URLDecoder
;
import
java.net.URLEncoder
;
import
java.nio.charset.Charset
;
import
java.nio.charset.StandardCharsets
;
import
java.util.Base64
;
import
java.util.HashMap
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment