开发者

Asymmetric digital signature Node.JS

开发者 https://www.devze.com 2023-02-17 02:38 出处:网络
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 packag

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号