We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72e9ed3 commit f685581Copy full SHA for f685581
pom.xml
@@ -6,7 +6,7 @@
6
7
<groupId>top.mryan2005</groupId>
8
<artifactId>javaplusplus</artifactId>
9
- <version>1.0.2-beta</version>
+ <version>1.0.3-beta</version>
10
11
<developers>
12
<developer>
src/main/java/top/mryan2005/MD5.java
@@ -5,6 +5,16 @@
5
import java.util.Random;
public class MD5 {
+
+ public static String md5EncryptPassword(String password) {
+ String res = "";
+ for(int i = 1; i <= 5; ++i) {
+ if(i == 1) res = DigestUtils.md5Hex(password);
13
+ else res = DigestUtils.md5Hex(res);
14
+ }
15
+ return res;
16
17
18
public Hash generateMd5Hash(String input) {
19
Hash hash = new Hash();
20
hash.hash = DigestUtils.md5Hex(input);
0 commit comments