Skip to content

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

Description

@ragininternet

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions