Skip to content
 
 

Repository files navigation

WELCOME TO CS411 Cryptoanalysis course project!

In this project we aimed to demonstrate the concepts we have learned in our course. the project consist of 3 phases. Explore the code, tests, and functions to help you understant the implementation of the concepts we have seen through class and feel free to apply these concepts in your own work.

phase I

This part is about digital signatures and blockchain transactions.

What files does DS.py: Create functions for signing, verifying, and managing keys. Tx.py: Generate and verify blockchain transactions. Use PhaseI_Test.py to make sure everything works: '''bash python PhaseI_Test.py '''

Phase II

This phase is about enhancing the cryptocurrency system by generating blocks of transactions and implementing Proof-of-Work (PoW).

PoW.py: Computes hash, then calculates merkle root of transactions implements proof of work algorithm by calculating nonce based on pow lenght specified. Use PhaseII_Test.py to make sure everything works: '''bash python PhaseII_Test.py '''

Phase III

This phase focuses on two main tasks:

You can check ECDSA_Sample to explore the logic behind ECDSA procedures ECDSA.py: ECDSA Integration, Implementing elliptic curve digital signatures. ChainGen.py: Blockchain Generation, Creating a blockchain by linking blocks using Proof-of-Work (PoW).

Use PhaseIII_Test.py to test your implementation: Test I–III: Check ECDSA functions for key generation, signing, and transaction verification. Test IV: Validate block linking and blockchain consistency.

About

CS 411 final project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages