mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
🎨 WxCryptUtil#encrypt(String randomStr, String plainText)方法调整为public
WxCryptUtil#encrypt(String randomStr, String plainText)方法调整为public
This commit is contained in:
parent
fefe039e95
commit
0203950f4e
@ -166,7 +166,7 @@ public class WxCryptUtil {
|
||||
* @param plainText 需要加密的明文
|
||||
* @return 加密后base64编码的字符串
|
||||
*/
|
||||
protected String encrypt(String randomStr, String plainText) {
|
||||
public String encrypt(String randomStr, String plainText) {
|
||||
ByteGroup byteCollector = new ByteGroup();
|
||||
byte[] randomStringBytes = randomStr.getBytes(CHARSET);
|
||||
byte[] plainTextBytes = plainText.getBytes(CHARSET);
|
||||
|
Loading…
Reference in New Issue
Block a user