Posts

Showing posts with the label File Locker

🔐 VaultBox – Lock/Unlock Any File in 1 Click with Python GUI | FuzzuTech

Image
Demo : Click Video 👇👇👇 Features: Instant file encryption & decryption Auto log tracking Beginner-friendly CustomTkinter UI Works offline 100% open source Code : import customtkinter as ctk from tkinter import filedialog import os, json from cryptography.fernet import Fernet from datetime import datetime ctk.set_appearance_mode("dark") ctk.set_default_color_theme("blue") KEY_FILE = "vault.key" LOG_FILE = "access_log.json" # Generate key if not exists if not os.path.exists(KEY_FILE):     with open(KEY_FILE, "wb") as f:         f.write(Fernet.generate_key()) with open(KEY_FILE, "rb") as f:     key = f.read() fernet = Fernet(key) if not os.path.exists(LOG_FILE):     with open(LOG_FILE, "w") as f:         json.dump([], f) class VaultBox(ctk.CTk):     def __init__(self):         super().__init__()         self.title("🔒 VaultBox - File Locker") ...