Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
encryption_script
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
6e7d0bcd
authored
2021-01-11 18:25:45 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update README.md
1 parent
7f3fea26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
README.md
README.md
View file @
6e7d0bc
## 鉴权与保护
### 0. 运行环境
-
python3
-
pip install -r requirements.txt
### 1. 鉴权(服务端): verify.py
-
生成公私钥对
```
python RSA/create_keys.py
```
-
根据过期日期(必须)和MAC地址(可选, en0),通过私钥加密,生成认证文件
- help text
```
❯ python RSA/encrypt.py -h
...
...
@@ -25,6 +29,7 @@
```
python RSA/encrypt.py -d 2021-01-12 -m 38:f9:d3:2e:c0:f3
```
- 项目使用
- 拷贝以下文件至项目
- 公钥:RSA/public.pem
...
...
@@ -41,10 +46,8 @@
```
### 2. 保护源码:py2so.py
-
description
```angular2html
compile the .py to .so(Linux/Mac) or .pdy(Win)
```
- description: compile the .py to .so(Linux/Mac) or .pdy(Win)
- help text
```
❯ python py2so.py -h
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment