mirror of
https://gitee.com/dromara/sms4j.git
synced 2025-12-06 17:08:40 +08:00
update 删除多余的行
This commit is contained in:
parent
63a17f5476
commit
2fc2488890
@ -105,7 +105,6 @@ public class CtyunUtils {
|
|||||||
private static byte[] hmacSHA256(byte[] data, byte[] key){
|
private static byte[] hmacSHA256(byte[] data, byte[] key){
|
||||||
try {
|
try {
|
||||||
HMac hMac = new HMac(HmacAlgorithm.HmacSHA256, key);
|
HMac hMac = new HMac(HmacAlgorithm.HmacSHA256, key);
|
||||||
hMac.digest(data);
|
|
||||||
return hMac.digest(data);
|
return hMac.digest(data);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new SmsBlendException(e.getMessage());
|
throw new SmsBlendException(e.getMessage());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user