Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Dor is offline
    New Coder
    Join Date
    Jan 2012
    Thanked 1 Time in 1 Post

    Javascript Encryption & Device Fingerprinting

    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

    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.

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Sydney, Australia
    Thanked 662 Times in 651 Posts
    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.
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts