sign加密打印
This commit is contained in:
parent
30fc3ff43c
commit
b2c23a3ed6
|
|
@ -63,5 +63,8 @@ public class Sm4Utils {
|
||||||
// 解密密文
|
// 解密密文
|
||||||
String decryptedText = Sm4Utils.decrypt(plainText);
|
String decryptedText = Sm4Utils.decrypt(plainText);
|
||||||
System.out.println("解密后: " + decryptedText);
|
System.out.println("解密后: " + decryptedText);
|
||||||
|
|
||||||
|
String sign = "jyy:2025-07-16";
|
||||||
|
System.out.println("sign加密后: " + Sm4Utils.encrypt(sign));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue