+ 3

JavaScript

encryption without the possibility of decoding JS

5th Aug 2018, 7:04 AM
Vaibhav Pathak
Vaibhav Pathak - avatar
6 Réponses
+ 2
Yes, you can write a code that encryptes a file/ text. But, you can't run this code
5th Aug 2018, 7:15 AM
Chalza
Chalza - avatar
+ 2
I think you confound with compilation. Compilation is a bit different. Compilation translates your code, to other code ( bytecode, machine langage, etc.. ). And this, can be run by the computer. So, it's not really an encryption, but you can't read as well the compiled code. And, I don't think you can compile JS code, sorry.
5th Aug 2018, 7:26 AM
Chalza
Chalza - avatar
+ 1
Can you explain your question, please ?
5th Aug 2018, 7:12 AM
Chalza
Chalza - avatar
+ 1
Because, imagine I encrypte this: console.log("HW"); Then, I can have this ( example ): ~ëpsont€/?s/] The javascript interpreter doesn't understand that.
5th Aug 2018, 7:19 AM
Chalza
Chalza - avatar
0
Choubada How to encrypt the js code, without the possibility of decryption. Is it possible?
5th Aug 2018, 7:13 AM
Vaibhav Pathak
Vaibhav Pathak - avatar
0
why? Explain. Please
5th Aug 2018, 7:16 AM
Vaibhav Pathak
Vaibhav Pathak - avatar