Reputation: 30073
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!
Upvotes: 5
Views: 4415
Reputation: 24406
If you want to sign xml there is xml-crypto - an xml digital signature library for node.js
Upvotes: 1
Reputation: 77416
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.
Upvotes: 8