Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
datax-cloud
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
黄营
datax-cloud
Commits
2a173a02
Commit
2a173a02
authored
Dec 11, 2020
by
yuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update: MD5加密密钥修改
parent
29389308
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
MD5Util.java
...mon-core/src/main/java/cn/datax/common/utils/MD5Util.java
+1
-1
No files found.
datax-common/datax-common-core/src/main/java/cn/datax/common/utils/MD5Util.java
View file @
2a173a02
...
...
@@ -14,7 +14,7 @@ public class MD5Util {
//向量(同时拥有向量和密匙才能解密),此向量必须是8byte,多少都报错
private
final
byte
[]
DESIV
=
new
byte
[]
{
0x22
,
0x54
,
0x36
,
110
,
0x40
,
(
byte
)
0xac
,
(
byte
)
0xad
,
(
byte
)
0xdf
};
// 向量
private
final
String
deSkey
=
"
abcd自定义密钥
"
;
// 自定义密钥,个数不能太短,太短报错,过长,它默认只取前N位(N的具体值,大家另行查找资料)
private
final
String
deSkey
=
"
datax-cloud
"
;
// 自定义密钥,个数不能太短,太短报错,过长,它默认只取前N位(N的具体值,大家另行查找资料)
private
AlgorithmParameterSpec
iv
=
null
;
// 加密算法的参数接口
private
Key
key
=
null
;
private
String
charset
=
"UTF-8"
;
...
...
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