网络空间安全创新创业实践 (Cyberspace Security Innovation and entrepreneurship practice project)
202000460071 Xiaohan Ni
Project | Readme |
---|---|
Do your best to optimize SM3 implementation (software) | SM3 |
Implement the naïve birthday attack of reduced SM3 | Hash Collision , Birthday Attack |
Implement the Rho method of reduced SM3 | Hash Collision , Rho Attack |
Implement length extension attack for SM3, SHA256 | Length Extend Attack |
Implement Merkle Tree following RFC6962 | Merkle Tree |
Find a key with hash value sdu_cst_20220610 under a message composed of your name followed by your student ID. For example, San Zhan 202000460001 . |
mewo, invertibility |
Find a 64-byte message under some |
mewo, symmetry |
Other... | SM4 , SM2 |
For python, virtual env is recommanded. Type the following command in terminal.
python -m venv venv
Activate the venv
./venv/Script/activate
To exit:
deactivate
# provide api for sm3
pip install snowland-smx==0.3.1
Generally use CMake(3.5+) to build c/c++ project.
Choose your build tools use -G
.
mkdir build
cd build
cmake .. -G="MingW Makefiles"
make
Or:
cmake -S . -B build
cmake --build build
build\bin
: Executable test programsbuild\lib
: Static lib