Is there any way to secure our functions and methods? so that our code will be secure | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 13

Is there any way to secure our functions and methods? so that our code will be secure

26th Jan 2019, 1:36 PM
Kshitija Raut
Kshitija Raut - avatar
2 Answers
+ 7
https://leonardociaccio.github.io/Cripty/cripty.html Cripty provide some mechanism to encrypt your code
26th Jan 2019, 2:14 PM
Mahesh Gaonkar
Mahesh Gaonkar - avatar
+ 5
Here are few of the possible interpretations: You want to protect your source code ..from being seen by people (because you have used something cool that you dont want others to copy) ..from being edited by people and redistributed as their own ..from being hacked by someone exploiting a weakness in the source ..from errors like buffer overflows, leak (source fortification) ..with the strongest possible licencing scheme Each has a different approach based on the language you use. For instance, for C code 1,2,3 doesnt apply unless you shared the code publicly. For HTML/Javascript you can obfuscate but cant think of how you can do 1,2 and 3
26th Jan 2019, 2:11 PM
Mahesh Gaonkar
Mahesh Gaonkar - avatar