Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is NETCore.Encrypt in a Blazor Webassembly Client .Net 7.0 project working? #61

Open
ragininternet opened this issue Jan 8, 2023 · 1 comment

Comments

@ragininternet
Copy link

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?

@myloveCc
Copy link
Owner

I'm not sure, i will test this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants