Encrypt Javascript code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Encrypt Javascript code

can I encrypting Javascript code that others can't see that?

10th Jan 2017, 10:16 PM
alireza shokri
alireza shokri - avatar
2 Answers
+ 4
use escape(), and then unescape() the whole code.
11th Jan 2017, 1:09 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 1
Yes you can hardcore obfuscate the code using, https://javascriptobfuscator.com but only for average programmers for expert nop, experts decode easilly.
10th Jan 2017, 10:24 PM
nextco
nextco - avatar