Asymmetric digital signature Node.JS
I need开发者_StackOverflow 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
精彩评论