Is it recommended to encrypt javascript?
<p>I am currently being offered a job for an IT development business (notice I already do my freelance job and pays well enough), this job sounds good and it would enable me to keep my current job while doing the other one. The thing is, they want to outsource me without giving me any credit whatsoever for the development but the full payment. </p>

<p>On the side of getting payment it sounds good, but on the side of only helping another company build its own reputation using MY work I don't quite like it (Ego mostly, yes I know), so I started thinking and came up with possibly encrypting my javascriptps, php's, etc. I've found some tools online to do that however I'm not sure how good is it to actually do this, I mean, would it affect the functionality or loading speed? also is it really that recommendable for me to do this? I don't know what to think right now...would u guys mind telling me your opinions on the matter?</p>

<p><hr /></p>

<p><strong>Edit to Clarify</strong></p>

<p>The thing here is not that I'm being contracted by a business so that I develop for them specifically they just want to outsource what I do, that is, this IT business will pay me for doing it while they tell the client they did it themselves...which then you can think "well they won't be able to duplicate it themselves" or "if they try to duplicate it at least they'll take some time to undestand the code" but let's face it in the end if they want to they will be able to understand and replicate my code (or something like it)...</p>

<p>Now the issue here is that I am interested in working with them since it'd get me jobs abroad (notice I'm in Mexico and the jobs would be for another country) and I'd really like to get to be known there, but this IT business won't agree to give me some credit...and I currently don't have many other options for getting to be known there.</p>
