Yes, we do it with a C++ module. And fn.toString() won't give you the source of exported functions.
On Saturday, May 11, 2013 12:43:17 PM UTC+2, Alex Kocharin wrote: > > > How do you do that? Do you use some kind of C++ native module for this? > Because from I've seen so far, most "encrypted" javascripts can be > "decrypted" by replacing eval with console.log... > > -- > // alex > > > 11.05.2013, 14:30, "Bruno Jouhier" <bjou...@gmail.com <javascript:>>: > > I'm not going to repeat the reasons why require.extensions is bad, > just that I fully support Isaac's move of deprecating it. > > > What about people who need to encrypt source code. What do you propose? > > > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nod...@googlegroups.com <javascript:> > To unsubscribe from this group, send email to > nodejs+un...@googlegroups.com <javascript:> > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to nodejs+un...@googlegroups.com <javascript:>. > For more options, visit https://groups.google.com/groups/opt_out. > > > > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.