Merge pull request 'main' (#3) from sangge/mimajingsai:main into main

Reviewed-on: dqy/mimajingsai#3
This commit is contained in:
dqy 2023-10-13 09:26:45 +08:00
commit f783ce673f
4 changed files with 31 additions and 3 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
.vscode
jiangchao

7
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
"python.analysis.typeCheckingMode": "basic",
"python.analysis.diagnosticSeverityOverrides": {
"reportUndefinedVariable": "none",
"reportMissingImports": "none"
}
}

View File

@ -8,13 +8,32 @@ The project uses the Chinese national standard cryptography algorithm to impleme
## Environment Dependencies
The project relies on the following software:
System requirements:
- Linux
- Windows
The project relies on the following software:
- Python 3.11
- gmssl
- gmssl-python
## 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
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

View File

@ -0,0 +1,2 @@
from gmssl import * #pylint: disable = e0401
testtest