RFID Messages Hider (KhabiByte)

by akram44 in Circuits > Arduino

613 Views, 5 Favorites, 0 Comments

RFID Messages Hider (KhabiByte)

thumbnail.jpg
77.JPG

RFID technology powers many of our access cards, badges, and contactless systems. With KhabiByte, you’ll learn how to build a sleek Python-based GUI application that communicates with an Arduino and RC522 RFID module to read and write encrypted messages to RFID tags.

But this project doesn’t stop at basic functionality — we’ll also show you how to:

  1. Modify RFID tags to fit into wearable items like necklaces
  2. Handle voltage requirements safely using a 3.3V voltage regulator like the AMS1117
  3. Secure your messages using a classic Vigenère cipher

Perfect for beginners and intermediate makers interested in RFID, encryption, or GUI-based hardware projects.

Supplies

Supplies.jpg

Hardware:

  1. Arduino (Uno, Nano, Pro Micro, etc.)
  2. RC522 RFID Reader Module
  3. RFID tags or cards
  4. AMS1117 3.3V voltage regulator (if using 5V-only Arduino)
  5. Jumper wires
  6. Breadboard or PCB
  7. Optional: Necklaces, keychains, or 3D-printed cases for wearable RFID tags

Software:

  1. Python 3.x
  2. CustomTkinter (for GUI)
  3. Required Python libraries (via requirements.txt)
  4. Arduino IDE

Understanding How It Works

gui.png
777.jpg

KhabiByte is a Python GUI that:

  1. Sends and receives data via serial communication to Arduino
  2. Uses an RC522 RFID module to interact with RFID cards
  3. Encrypts/decrypts messages using the Vigenère cipher
  4. Allows read/write of encrypted messages on RFID tags


Wiring the Hardware

Circuit diagrams1.jpg
2.JPG

Connect the RC522 module to the Arduino Nano as follows:

  1. SDA/SS D10
  2. SCK D13
  3. MOSI D11
  4. MISO D12
  5. RST D9
  6. GND GND
  7. 3.3V 3.3V

⚠️ Note: If your Arduino only provides 5V (e.g., Uno), you must use a voltage regulator (AMS1117 3.3V) to power the RC522 safely.

Install the Software

22.png
  1. Upload the Arduino code to your Arduino via the Arduino IDE.
  2. Install the Python dependencies, save the files in the same folder than open cmd type:
pip install -r requirements.txt
  1. Run the main Python GUI:
python KhabiByte.py

github repo:https://github.com/akram4401/RFID-messages-hider--KhabiByte-

Test Basic Functionality

Screenshot (9).png
Screenshot (10).png
Screenshot (11).png
Screenshot (17).png
  1. Connect the Arduino to your PC via USB.
  2. Launch the KhabiByte application.
  3. Select the correct COM port and click Connect.
  4. Go to the Write tab, type a message, and write it to the RFID tag.
  5. Then go to the Read tab, scan the same tag, and check that the message is displayed


Encrypt/Decrypt RFID Data

Screenshot (5).png
Screenshot (14).png
  1. When writing to a tag, check the “Encrypt Message” box.
  2. Enter a keyword when prompted — this is your encryption key.
  3. When reading from the card, input the same keyword to decrypt the data (If the keyword is different, the message will be unreadable).

This uses the Vigenère cipher, a lightweight and classic encryption method — fun and functional!

RFID Tag Modification (Optional But Fun!)

make a costoum coil.jpg
Aug 7, 2025, 09_32_01 PM.png

Want to turn your RFID tag into a wearable item? Here’s how:

  1. Open the RFID tag carefully using a hobby knife or prying tool.
  2. Remove the coil and RFID chip.
  3. Carefully solder wires from the chip pads to a smaller custom coil or embed the chip directly into a necklace or keychain design.
  4. Secure with epoxy or hot glue and conceal within your wearable.
⚠️ Warning: RFID chips are fragile. Only attempt this if you’re comfortable with delicate soldering.