python 程序代码加密
1.python代码文件进行转换,
cython myscript.py --embed #把python代码转换成c代码
2.生成后缀为 .c的c语言的源文件,
gcc编译成二进制可执行文件:
gcc `python-config --cflags` -o hello hello.c `python-config --ldflags`
gcc `python3-config --cflags` -o hello hello.c `python3-config --ldflags`
ImportError: No module named ‘Crypto’
安装Crypto
pip3 install -i https://pypi.douban.com/simple pycryptodome