Tagline: Storing and transferring data where and how you shouldn't.
DataBridges is a visualization tool that demystifies the complex inner workings of your machine. It traces a simple string from your keyboard through various hardware and software components, providing detailed logs, SHA256 hashing for data integrity, and a final QR code representation. This project makes the invisible visible and offers a unique, educational look into the world of data flow.
Follow these steps to set up and run the DataBridges project:
- Python 3: Ensure you have Python 3 installed on your system.
- C Compiler: A C compiler (like GCC) is required to compile the
cpu2gpu.cprogram. - OpenCL: The
cpu2gpuprogram uses OpenCL to interact with the GPU. You will need to have the OpenCL headers and a runtime library installed. qrcodePython Library: This library is used to generate the QR codes.
- Install
qrcode: Open your terminal and run the following command to install theqrcodelibrary:pip install qrcode[pil]
Before running the scripts, you need to grant execute permissions to the kyb2cpu.py and compilecpu2gpu.sh files:
chmod +x kyb2cpu.py
chmod +x compilecpu2gpu.sh-
Compile the C program: First, compile the
cpu2gpu.cprogram by running the compilation script:./compilecpu2gpu.sh
This will create an executable file named
cpu2gpu. -
Run the main script: Now, execute the main Python script:
./kyb2cpu.py
-
Enter a string: The script will prompt you to "Enter a string:". Type your desired text and press Enter.
The console will display a detailed log of the data's journey through the various components, and a QR code image will be generated and opened, representing the final state of your data.