You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nodejs
Hi
I am trying to generate a digital signature using the crypto module
for node.js (0.6.15). The following code prints nothing (on both a
windows and a linux machine) and res is of length 0. Also signer never
throws an exception no matter what dummy input I give as key. openssl
is installed in version 1.0.1. What am I doing wrong?
var crypto = require('crypto');
var signer = crypto.createSign("RSA-SHA1")
signer.update("sign me!")