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 fefe039 commit 0203950Copy full SHA for 0203950
1 file changed
weixin-java-common/src/main/java/me/chanjar/weixin/common/util/crypto/WxCryptUtil.java
@@ -166,7 +166,7 @@ public String encrypt(String plainText) {
166
* @param plainText 需要加密的明文
167
* @return 加密后base64编码的字符串
168
*/
169
- protected String encrypt(String randomStr, String plainText) {
+ public String encrypt(String randomStr, String plainText) {
170
ByteGroup byteCollector = new ByteGroup();
171
byte[] randomStringBytes = randomStr.getBytes(CHARSET);
172
byte[] plainTextBytes = plainText.getBytes(CHARSET);
0 commit comments