This commit is contained in:
20932067@zju.edu.cn 2021-03-08 22:55:13 +08:00
parent ad21cc1b32
commit b453f4a3bf
1 changed files with 2 additions and 2 deletions

View File

@ -101,12 +101,12 @@ public class DESUtil {
}
}
public static void main(String[] args) {
System.out.println(getEncryptString("123456789"));
// System.out.println(getEncryptString("123456789"));
// System.out.println(getEncryptString("jdbc:mysql://34.96.189.60:3306/mall?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true"));
// System.out.println(getDecryptString("xW6OiZLo8/ly0RW0vIm4nLovV+Cp9HuqfGXYUO1QtqN9nov1i1mGCu8wfdlb0IvGQHy33l1ok5iSMx9lhN6SddVTN8vsBv7h4gCCwYDigan+8xhhH6uqF/HKdged+cE/06RLny3n8Yrcdip9/pz8lH3HZ+yT8kTf9VR6z1T2+x7Kdbs8O5h4aUZN0O7ExVaX"));
// DecodedJWT jwt = null;
// System.out.println(getEncryptString("mall"));
// System.out.println(getEncryptString("dr4ap4dbnyCMZTcr"));
System.out.println(getDecryptString("EGLUqBf4x5ofJAfVsP+M2w=="));
// JWTVerifier verifier = JWT.require(Algorithm.HMAC256("root")).build();
// jwt = verifier.verify("eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJyb290In0.nMqswrNZRESPR3tx8YgRN-jZ2y80XgvuLM5gFFKIRm0");
//