You probably could encrypt it, but I don’t get why you would do that, it seems weird to obfuscate mods seeing as anyone can download them, anyway, if you are really that anxious about your code being stolen, feel free to obfuscate it, however, it would be super easy to make an exact replica of your mod by anyone.