I have some JavaScript code I need to encrypt, but I want to be sure no one can decrypt it.
What tools can I use to do this?
-- Edit --
This is exactly DRM: you're giving the user a lock, and also the key to it, and expecting to be able to say what they can do with it.
It's theoretically impossible: if their computer can execute the code, it has to be unencrypted there.
It's practically impossible, too: look at everybody watching DVDs on Linux boxes to see how successful you can be.