EncryptSm2Zip

This commit is contained in:
tanglong 2025-10-30 19:02:29 +08:00
parent 64766b8216
commit fbcac61823

View File

@ -248,7 +248,7 @@ namespace YD_AllHeartRates.Api.Services.Impl
string bodyEncrypted; string bodyEncrypted;
try try
{ {
bodyEncrypted = DataEncryptHelper.EncryptSm2(jsonPlain, AppSettings.DataPush.PublicKey); bodyEncrypted = DataEncryptHelper.EncryptSm2Zip(jsonPlain, AppSettings.DataPush.PublicKey);
Console.WriteLine($"[GetStudentEduId] Encrypted BODY (Hex): {bodyEncrypted}"); Console.WriteLine($"[GetStudentEduId] Encrypted BODY (Hex): {bodyEncrypted}");
} }
catch (Exception ex) catch (Exception ex)