Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
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
fulixin
dsk-operate-sys-cscec
Commits
c9de795a
Commit
c9de795a
authored
Sep 20, 2023
by
tanyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并zuhuduan分支代码
parent
9553180c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
EncryptUtils.java
...mmon/src/main/java/com/dsk/common/utils/EncryptUtils.java
+6
-0
No files found.
dsk-common/src/main/java/com/dsk/common/utils/EncryptUtils.java
View file @
c9de795a
package
com
.
dsk
.
common
.
utils
;
package
com
.
dsk
.
common
.
utils
;
import
cn.dev33.satoken.secure.BCrypt
;
import
cn.hutool.core.codec.Base64
;
import
cn.hutool.core.codec.Base64
;
import
cn.hutool.core.util.ArrayUtil
;
import
cn.hutool.core.util.ArrayUtil
;
import
cn.hutool.core.util.StrUtil
;
import
cn.hutool.core.util.StrUtil
;
...
@@ -240,4 +241,9 @@ public class EncryptUtils {
...
@@ -240,4 +241,9 @@ public class EncryptUtils {
return
SmUtil
.
sm3
(
data
);
return
SmUtil
.
sm3
(
data
);
}
}
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
BCrypt
.
hashpw
(
"dsk123123"
));
}
}
}
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