Skip to content

Encrypt and decrypt your file using chess moves in a gamified way. It can lock and unlock any file having any extensions such as .txt, .docx, .pdf, .jpg etc. It provides mechanism to encrypt the file with your own style of playing chess. This ensures the utmost security and privacy of your file in an unique and innovative way

Notifications You must be signed in to change notification settings

AtharvaU8/CastleFile

Repository files navigation

In-Shot-20241202-025141849

castlefile.xyz


Welcome to castlefile.xyz, where your files meet the game of kings. Why settle for ordinary encryption when you can secure your data with the power of strategy and creativity? At castleFile, we blend the timeless elegance of chess with cutting-edge encryption technology, giving you a one-of-a-kind, gamified experience for locking and unlocking your files.

Usage

how-to-use-gif


Features

Functionality

  • Use your favorite chess moves as your unique encryption key.
  • Files are encrypted locally—your data, your control.
  • Secure any type of file—documents, photos, videos, or confidential archives.
  • Remember your chess strategy—a fun and memorable way to secure files.
  • Chess Moves Suggestions.

Castle File: chess-based file encryption stands out as an innovative, interactive, and user-customizable approach to securing data, where each encryption session is as unique as the game that produces it.

File Encryption Process via chess

The encryption relies on a combination of cryptographic methods and the unique game mechanics of chess. Here’s a deep dive into how the files get encrypted:

  1. Understanding the Encryption Process

    • Step 1: The user starts a game on the chessboard and makes at least a minimum 4 moves. Each move modifies the board’s state.
    • Step 2: The sequence of moves is captured and converted into a cryptographic key.
    • Step 3: The generated key is then used in a standard encryption algorithm.
  2. Example Process

    • User Move Sequence: e2e4, g8f6, d2d4, ...
    • Concatenate moves into a string e2e4g8f6d2d4..., hash it with SHA-256 to produce a 256-bit key.
    • Encrypt the file using AES-256 with CBC mode, applying the generated key to scramble the file data.

Safety and Security

  • The encryption key depends on the sequence of moves, makeing it unique and hard to replicate.
  • Hash function SHA-256 for Encryption Key Generation.
  • AES with CBC mode for File Encryption.

Privacy

  • The website does not store the key or move sequence.
  • This website is completely client side
  • If user forget their exact sequence of moves, they lose the ability to decrypt.

Social


castlefile.xyz isn’t just a website—it’s a revolution in data security. We’re here to make encryption smarter, safer, and undeniably more fun. Whether you're a chess enthusiast, a tech lover, or someone who just values their privacy, CastleFile is your perfect castle against cyber threats. Your moves. Your strategy. Your files. Ready to make your first move? Start now at CastleFile!

About

Encrypt and decrypt your file using chess moves in a gamified way. It can lock and unlock any file having any extensions such as .txt, .docx, .pdf, .jpg etc. It provides mechanism to encrypt the file with your own style of playing chess. This ensures the utmost security and privacy of your file in an unique and innovative way

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published