View Full Version : Javascript Encryption & Device Fingerprinting

04-18-2012, 12:41 AM
Feel free to move this thread.

Can someone suggest good javascript encryption. ways of jumbling it all and making it unreadable.

It seems that it could be encrypted, and maybe filled in with a bunch of useless code so its harder to see the real code. then include a few JS files, with one being the real one. And the entire mess getting run on the clients machine :thumbsup:

Perhaps you could redirect to a page with javascript, run it and redirect again before they see the page in the middle. If i can hide the JS from undetermined users that's worth something to me.

I'm making a MMO. I need to log device and browser fingerprints of users to identify multi accounts. If any one has advice or good links I'll take em.

I have the advantage of users being willing to be fingerprinted. I think i might require JS and flash to be enabled for someone to log in, even if it hinders playing from some phones.

I haven't been programming that long and this is a tough project. Are there any low-cost professional solutions? Does google analytics do anything like this? i couldn't find any info on that.

Right now im looking over the JS from http://letmetrackyou.org/identify.php
its a site like panopticlick.

Thanks for any help.

04-18-2012, 04:27 AM
Encryption routines in JavaScript are fairly large.

http://javascript.about.com/library/blencrypt.htm is a compressed version of one of the smallest actual encryption routines that I have found.