修改主数据
This commit is contained in:
parent
5eee3be6c0
commit
9f0fefc503
|
@ -170,8 +170,13 @@ public class CBSUtil {
|
|||
*/
|
||||
public static byte[] encrypt(String requestData){
|
||||
logger.info("bodyEncryptionKey: "+bodyEncryptionKey+"requestData: "+ requestData);
|
||||
try {
|
||||
byte[] encrypt = SM2Util.encrypt(bodyEncryptionKey, requestData.getBytes(StandardCharsets.UTF_8));
|
||||
return encrypt;
|
||||
}catch (Exception e){
|
||||
logger.error("加密失败",e);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static String decrypt(byte[] cipherData){
|
||||
|
|
Loading…
Reference in New Issue