Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

console.log says undefined #5

Open
Sparo opened this issue Sep 9, 2013 · 1 comment
Open

console.log says undefined #5

Sparo opened this issue Sep 9, 2013 · 1 comment

Comments

@Sparo
Copy link

Sparo commented Sep 9, 2013

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...

@gitprouser
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants