var aesKey = EncryptProvider.CreateAesKey(); var jsonString = JsonSerializer.Serialize(MyComplexObj); await JsConsole.LogAsync(jsonString); var encrypted = EncryptProvider.AESEncrypt(jsonString, aesKey.Key, aesKey.IV); await JsConsole.LogAsync(encrypted);
The first LogAsync gives back the complexobject as string. The second LogAsync returns null. I used a Blazor Webassambly Cient project mit .net7.0. I thought Blazor wasm was compatible with netStandard 2.1?
Any Ideas?
Hi,
var aesKey = EncryptProvider.CreateAesKey(); var jsonString = JsonSerializer.Serialize(MyComplexObj); await JsConsole.LogAsync(jsonString); var encrypted = EncryptProvider.AESEncrypt(jsonString, aesKey.Key, aesKey.IV); await JsConsole.LogAsync(encrypted);
The first LogAsync gives back the complexobject as string. The second LogAsync returns null. I used a Blazor Webassambly Cient project mit .net7.0. I thought Blazor wasm was compatible with netStandard 2.1? Any Ideas?