diff --git a/YD_AllHeartRates.Api/Services/Impl/DataPushService.cs b/YD_AllHeartRates.Api/Services/Impl/DataPushService.cs index 42c64e6..3cf6430 100644 --- a/YD_AllHeartRates.Api/Services/Impl/DataPushService.cs +++ b/YD_AllHeartRates.Api/Services/Impl/DataPushService.cs @@ -248,7 +248,7 @@ namespace YD_AllHeartRates.Api.Services.Impl string bodyEncrypted; try { - bodyEncrypted = DataEncryptHelper.EncryptSm2(jsonPlain, AppSettings.DataPush.PublicKey); + bodyEncrypted = DataEncryptHelper.EncryptSm2Zip(jsonPlain, AppSettings.DataPush.PublicKey); Console.WriteLine($"[GetStudentEduId] Encrypted BODY (Hex): {bodyEncrypted}"); } catch (Exception ex)