Skip to content

Ritik505/Cryptography

Repository files navigation

Cryptography Fundamentals & Experiments

Overview

This repository is a continuously evolving collection of cryptographic implementations, experiments, and learning modules.

It serves as my hands-on exploration of core cryptographic concepts that power modern systems, especially blockchain, Web3 applications, and secure communication.

This is a living repository new implementations, experiments, and security concepts are added regularly as I continue learning and building.


Goals

  • Understand cryptographic primitives at a practical level
  • Implement core algorithms from scratch and using libraries
  • Explore how cryptography is used in blockchain systems
  • Strengthen my foundation in smart contract security and secure system design

Topics Covered

Cryptographic Hashing

  • SHA-256 hashing
  • Secure message hashing
  • Data integrity concepts

Encryption & Decryption

  • Symmetric encryption (Fernet / AES-based)
  • Caesar cipher (basic cryptography)
  • Secure message encryption workflows

Digital Signatures

  • RSA signature generation
  • Signature verification
  • Public & private key cryptography

Key Management

  • Public/private key generation
  • Understanding key pairs and their role in security systems

Security Utilities

  • IP blacklist checking
  • Practical security-related scripts

Repository Structure

Each folder represents a focused implementation or experiment:

/Generate private and public key /Generate signature /Verification with RSA /fernet_encrypt_decrypt /secure_message_hash /caesar_cipher_encryption /caesar_cipher_decryption /ip_blacklist_checker


Why This Repository Matters

Cryptography is the backbone of:

  • Blockchain systems (Ethereum, Bitcoin, etc.)
  • Smart contract security
  • Wallet authentication & transactions
  • Secure communication (end-to-end encryption)

This repository reflects my effort to go beyond frameworks and truly understand the security layer beneath Web3 systems.


Continuous Learning

This repository will keep evolving with:

  • New cryptographic algorithms
  • Security attack simulations
  • Advanced encryption techniques
  • Blockchain-related cryptographic concepts

Tech Stack

  • Python
  • Cryptography libraries
  • Custom implementations

Future Additions

  • Elliptic Curve Cryptography (ECC)
  • ECDSA (used in Ethereum)
  • Merkle Trees
  • Zero-Knowledge Proof basics
  • Signature replay attack simulations

Connect With Me


Final Note

This is not just a collection of scripts, it represents my journey toward becoming a security-focused blockchain engineer.

About

Ongoing cryptography experiments for blockchain security, encryption, and digital signatures

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors