I need to find some criptographic solution, which allows me to sign some data using private key, and check signature using public key. Would be great if there is some nodejs package.
Thanks!
Sounds like your needs should be met by the built-in crypto package, no? Check the docs on the createSign
and createVerify
methods, and the signer
and verifier
objects they respectively generate. Note that these require your system to have openssl
installed where Node can find it.
If you want to sign xml there is xml-crypto - an xml digital signature library for node.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With