RFID Messages Hider (KhabiByte)
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:
- Modify RFID tags to fit into wearable items like necklaces
- Handle voltage requirements safely using a 3.3V voltage regulator like the AMS1117
- 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
Hardware:
- Arduino (Uno, Nano, Pro Micro, etc.)
- RC522 RFID Reader Module
- RFID tags or cards
- AMS1117 3.3V voltage regulator (if using 5V-only Arduino)
- Jumper wires
- Breadboard or PCB
- Optional: Necklaces, keychains, or 3D-printed cases for wearable RFID tags
Software:
- Python 3.x
- CustomTkinter (for GUI)
- Required Python libraries (via requirements.txt)
- Arduino IDE
Understanding How It Works
KhabiByte is a Python GUI that:
- Sends and receives data via serial communication to Arduino
- Uses an RC522 RFID module to interact with RFID cards
- Encrypts/decrypts messages using the Vigenère cipher
- Allows read/write of encrypted messages on RFID tags
Wiring the Hardware
Connect the RC522 module to the Arduino Nano as follows:
- SDA/SS D10
- SCK D13
- MOSI D11
- MISO D12
- RST D9
- GND GND
- 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
- Upload the Arduino code to your Arduino via the Arduino IDE.
- Install the Python dependencies, save the files in the same folder than open cmd type:
- Run the main Python GUI:
github repo:https://github.com/akram4401/RFID-messages-hider--KhabiByte-
Test Basic Functionality
- Connect the Arduino to your PC via USB.
- Launch the KhabiByte application.
- Select the correct COM port and click Connect.
- Go to the Write tab, type a message, and write it to the RFID tag.
- Then go to the Read tab, scan the same tag, and check that the message is displayed
Encrypt/Decrypt RFID Data
- When writing to a tag, check the “Encrypt Message” box.
- Enter a keyword when prompted — this is your encryption key.
- 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!)
Want to turn your RFID tag into a wearable item? Here’s how:
- Open the RFID tag carefully using a hobby knife or prying tool.
- Remove the coil and RFID chip.
- Carefully solder wires from the chip pads to a smaller custom coil or embed the chip directly into a necklace or keychain design.
- 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.