How to simply encode and decode a string variable with javascript.
        Posted  
        
            by Mohammad
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Mohammad
        
        
        
        Published on 2010-04-19T16:10:29Z
        Indexed on 
            2010/04/19
            16:13 UTC
        
        
        Read the original article
        Hit count: 377
        
I need to simply encode a string variable (my api key) so that is not easily readable by human eyes, I need it to easily decode back to exactly the same initial string. What is the standard practical and fast (less computing on the user side) way to do this?
Many thanks in advance!
© Stack Overflow or respective owner