forked from sangge/tpre-python
Merge pull request 'main' (#3) from sangge/mimajingsai:main into main
Reviewed-on: dqy/mimajingsai#3
This commit is contained in:
commit
f783ce673f
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
.vscode
|
jiangchao
|
7
.vscode/settings.json
vendored
Normal file
7
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"python.analysis.typeCheckingMode": "basic",
|
||||||
|
"python.analysis.diagnosticSeverityOverrides": {
|
||||||
|
"reportUndefinedVariable": "none",
|
||||||
|
"reportMissingImports": "none"
|
||||||
|
}
|
||||||
|
}
|
23
README_en.md
23
README_en.md
@ -8,13 +8,32 @@ The project uses the Chinese national standard cryptography algorithm to impleme
|
|||||||
|
|
||||||
## Environment Dependencies
|
## Environment Dependencies
|
||||||
|
|
||||||
The project relies on the following software:
|
System requirements:
|
||||||
|
- Linux
|
||||||
|
- Windows
|
||||||
|
|
||||||
|
The project relies on the following software:
|
||||||
- Python 3.11
|
- Python 3.11
|
||||||
- gmssl
|
- gmssl
|
||||||
- gmssl-python
|
- gmssl-python
|
||||||
|
|
||||||
## Installation Steps
|
## Installation Steps
|
||||||
|
|
||||||
|
### Pre-installation
|
||||||
|
This project depends on gmssl, so you need to compile it from source first.
|
||||||
|
Visit [GmSSL](https://github.com/guanzhi/GmSSL) to learn how to install.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install
|
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Usage Instructions
|
||||||
|
|
||||||
|
|
||||||
|
## References
|
||||||
|
[TPRE Algorithm Blog Post](https://www.cnblogs.com/pam-sh/p/17364656.html#tprelib%E7%AE%97%E6%B3%95)
|
||||||
|
[Gmssl-python library](https://github.com/GmSSL/GmSSL-Python)
|
||||||
|
|
||||||
|
|
||||||
|
## License
|
||||||
|
GNU GENERAL PUBLIC LICENSE v3
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
from gmssl import * #pylint: disable = e0401
|
||||||
|
testtest
|
Loading…
x
Reference in New Issue
Block a user