Asymmetric Digital Signature Node.JS

I need to find a cryptographic solution that allows me to sign some data with a private key and verify the signature with a public key. It would be great if there was a nodejs package.

Thanks!

+4
source share
2 answers

It seems your built-in crypto package should satisfy your needs, no? Check the documents in the createSign and createVerify and the signer and verifier objects that they respectively generate. Note that this requires your system to have openssl , where Node can find it.

+7
source

Source: https://habr.com/ru/post/1343763/


All Articles