Git Product home page Git Product logo

cyber-crypto-practice's Introduction

Introduction

网络空间安全创新创业实践 (Cyberspace Security Innovation and entrepreneurship practice project)

202000460071 Xiaohan Ni

Status

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 $k$ fulfilling that their hash value is symmetrical mewo, symmetry
Other... SM4 , SM2

Build

Python

virtual env

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

Python Library

# provide api for sm3
pip install snowland-smx==0.3.1

C/C++

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 programs
  • build\lib: Static lib

cyber-crypto-practice's People

Contributors

nenahp avatar phanen avatar

Watchers

 avatar

Forkers

harp-i

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.