Openssl - verify function alternative for c#

631 views Asked by At

Exist any alternative to:

$verified = openssl_verify($stringToVerify, pack("H*", $signature), $publicKey, "sha256");

...for c# ?

I tried to use class ECDsaCng, but I don't know, how to set public key. I tried download managedOpenSsl from gitHub, but I don't know, what to use (I m not good at encryption generally).

Thanks for your answers.

0

There are 0 answers