Jump to content

JavaScript Encryption


AE117

Recommended Posts

I have never encrypted JavaScript before but I would like to start, I think its a good Idea.

 

I'v been searching the internet to figure out how an encryption script works and I cant seem to get any of them to work. Can someone help me out with the process.

 

1 - I take my script and use there decodes and then put that encoded sscript into my file. Then my javascript in that file doesnt work anymore.

 

Do I have to include a path to a decoder or whats going on??

Link to comment
https://forums.phpfreaks.com/topic/203237-javascript-encryption/
Share on other sites

I think its a good idea...

 

On my page I access the javascript file for the page to use

 

<script src="" you know the rest.

 

if you follow that url you can see the javascript file and the way it is written. Wouldnt it be better to have it encrypted so users can't see whats there?

 

 

No.

If they really want to see what's there, they'll be able to decrypt it anyway. It's just obfuscation that will mean nothing to those not interested in your scripts, and will not stop those who are.

 

Just minify jour JavaScript and it will be obfuscated enough.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.