Commit ec8f99fb authored by Quxl's avatar Quxl

x

parent abd3e5f1
...@@ -43,8 +43,10 @@ public class Common { ...@@ -43,8 +43,10 @@ public class Common {
} }
public static void main(String[] args) { public static void main(String[] args) {
System.out.println(encodePassword("123456", "XPm3m5")); String salt = getGenerateString(6);
System.out.println(getGenerateString(6)); String password = "Siff@2018";
System.out.println(salt);
System.out.println(encodePassword(password, salt));
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment