Node.js correct way to make rsa encrypt?
问题 i'm trying to create a WS for make soap request. In the body of the message there is a field that contains an encrypted text. I have the public key to encrypt the text but the only result that i obtain is that the text is not recognized. I use crypto module of node for making request and the text is crypted but i don't know why is not correclty encrypted. Ps i made the same thing on php with openssl_public_encrypt function and working. But i have to do it in node.js. Any idea or suggestion?