diff --git a/.gitignore b/.gitignore index 600d2d3..ca746f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -.vscode \ No newline at end of file +jiangchao \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..c01d446 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "python.analysis.typeCheckingMode": "basic", + "python.analysis.diagnosticSeverityOverrides": { + "reportUndefinedVariable": "none", + "reportMissingImports": "none" + } +} \ No newline at end of file diff --git a/README_en.md b/README_en.md index 3e88880..762487a 100644 --- a/README_en.md +++ b/README_en.md @@ -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 diff --git a/src/tpre.py b/src/tpre.py index e69de29..56aa820 100644 --- a/src/tpre.py +++ b/src/tpre.py @@ -0,0 +1,2 @@ +from gmssl import * #pylint: disable = e0401 +testtest \ No newline at end of file