You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error using SHA256Managed when create the instance. this work fine in .net31, project server netcoreapp3.1 y shared netstandard2.1 #40080
Is there an InnerException in the exception you're seeing? What kind of project is this - console, WinForms, webassembly, something else? Do you have a standalone repro app we can run?
Activity
Tratcher commentedon Jul 29, 2020
What's the error?
javiercn commentedon Jul 29, 2020
@apayero thanks for contacting us.
This seems like a runtime issue. We'll transfer it there so that they can give you a faster and better answer.
Are you by any chance using Blazor WebAssembly? I believe there is an issue in the runtime regarding Cryptography when running on WebAssembly.
Dotnet-GitSync-Bot commentedon Jul 29, 2020
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
GrabYourPitchforks commentedon Jul 30, 2020
@apayero Please include the text and stack trace of the exception you're seeing. We need this information in order to assist you further. Thank you!
apayero commentedon Aug 1, 2020
@apayero Please include the text and stack trace of the exception you're seeing. We need this information in order to assist you further. Thank you!
Originally posted by @GrabYourPitchforks in #40080 (comment)
Hi, the stackTrace only say "string {get; ].
that is all.
and _message: The type initializer for 'Crypto' threw an exception.'
best regards.
apayero commentedon Aug 1, 2020
@GrabYourPitchforks
Hi, the stackTrace only say "string {get; ].
that is all.
and _message: The type initializer for 'Crypto' threw an exception.'
best regards.
apayero commentedon Aug 1, 2020
@javiercn exactly I invoke the method from Webassembly.
the stackTrace only say "string {get; ].
and _message: The type initializer for 'Crypto' threw an exception.'
best regards.
GrabYourPitchforks commentedon Aug 1, 2020
Is there an InnerException in the exception you're seeing? What kind of project is this - console, WinForms, webassembly, something else? Do you have a standalone repro app we can run?
vcsjones commentedon Aug 1, 2020
This looks like #40076 then.
GrabYourPitchforks commentedon Aug 2, 2020
Duplicate of #40076.
apayero commentedon Aug 2, 2020
@GrabYourPitchforks @javiercn
thanks I wait then for the #40076, because is a WebAssembly Project.