I would like to sign a string with RSA (SHA-256) PKCS1 v1.5 or any other hashing and signing scheme.
Does anyone know if there are any npm module available to sign with a private key?
Thanks in advance
I would like to sign a string with RSA (SHA-256) PKCS1 v1.5 or any other hashing and signing scheme.
Does anyone know if there are any npm module available to sign with a private key?
Thanks in advance
Hi,
you can search through the available npm modules here .
Hello Aleks,
Thanks for the answer, I meant if somebody know a npm-module valid for message signing, due to the famous Crypto-js is not able to rsa sign, and I didn’t found any other Rsa npm moule (like node-rsa) but available in npm modules.
Thanks anyway
Will this work? https://www.npmjs.com/package/aes-js
Hi Shan,
Thanks for your response, unfortunately AES is a symmetric encryption algorithm so it’s not capable to sign (create a digest or signature or encrypt with a private key) and verify it with a public one.
I found hybrid-crypto available on wix npm-manager which is capable to RSA sign and encrypt, that’s enough!
Anyway thanks for the interest!
Regards