crypto icon indicating copy to clipboard operation
crypto copied to clipboard

console.log says undefined

Open Sparo opened this issue 11 years ago • 1 comments

Am I doing this right?

var cryptograph = require('crypto');
var hashFunction = cryptograph.createHash("md5");

// helper.printLog() is just a helper for nicer console.log view
helper.printLog(hashFunction); 

response that I get is: { _binding: {}, _options: undefined }

what does that mean?

also, I was trying to do something like :

helper.printLog(hashFunction.update(data)); 

but result is the same...

Sparo avatar Sep 09 '13 14:09 Sparo

@Sparo I don't think there's md5 hashing support yet.

gitprouser avatar Jan 10 '15 12:01 gitprouser