diff --git a/TensionUniverse/WFGY-SHA256-Verification-Tool.ipynb b/TensionUniverse/WFGY-SHA256-Verification-Tool.ipynb deleted file mode 100644 index cd3016bf..00000000 --- a/TensionUniverse/WFGY-SHA256-Verification-Tool.ipynb +++ /dev/null @@ -1,82 +0,0 @@ -# Manual SHA256 Verification Tool for WFGY TXT File -# ================================================== -# Purpose: -# - Upload your local TXT file (e.g. WFGY-3.0_Singularity-Demo_AutoBoot_SHA256-Verifiable.txt) -# - Compute its SHA256 hash manually -# - Compare it with the official hash published on GitHub -# -# When to use this: -# - When an AI assistant cannot verify the file hash directly (e.g. no direct file access) -# - To double-check file integrity yourself in a trusted environment -# - Useful if filenames differ but you suspect the content is the same -# -# Official reference (from https://github.com/onestardao/WFGY README): -# - Expected SHA256: 58dbd432db3e6494364557257f7ce068eb59bdd039995dff4c281d655f7d464f -# -# Instructions: -# 1. Run this cell -# 2. Click "Choose Files" to upload your TXT -# 3. Wait for the hash to be computed and compared -# 4. If hashes match → your file content is identical to the official one (byte-for-byte) -# 5. If not → content differs (possible reasons: edits, different line endings, encoding changes) -# -# ================================================== - -from google.colab import files -import hashlib - -print("=== Manual SHA256 Verification for WFGY TXT File ===") -print("Upload your TXT file now...\n") - -# Step 1: Upload the file -uploaded = files.upload() - -# Get the filename of the uploaded file (takes the first one if multiple) -filename = list(uploaded.keys())[0] -print(f"\nUploaded file: {filename}") - -# Step 2: Compute SHA256 hash -def compute_sha256(file_path): - sha256 = hashlib.sha256() - with open(file_path, "rb") as f: - # Read in chunks to handle large files safely - for chunk in iter(lambda: f.read(65536), b""): - sha256.update(chunk) - return sha256.hexdigest() - -file_hash = compute_sha256(filename) -print("\nYour file's SHA256 hash:") -print(file_hash) - -# Step 3: Official hash from GitHub (do NOT change this value manually) -official_hash = "58dbd432db3e6494364557257f7ce068eb59bdd039995dff4c281d655f7d464f" - -print("\nOfficial SHA256 from GitHub README:") -print(official_hash) - -# Step 4: Comparison result -print("\nResult:") -if file_hash == official_hash: - print("✅ MATCH! Your uploaded file has exactly the same content as the official version.") - print(" (Even if the filename is different, the raw bytes are identical.)") -else: - print("❌ DO NOT MATCH!") - print(" Possible reasons:") - print(" - The file was edited or modified") - print(" - Different line endings (CRLF vs LF)") - print(" - Encoding issues or extra spaces/characters") - print(" - It's a different version of the file") - print("\nRecommendation:") - print(" Download the latest official raw file from:") - print(" https://raw.githubusercontent.com/onestardao/WFGY/main/TensionUniverse/WFGY-3.0_Singularity-Demo_AutoBoot_SHA256-Verifiable.txt") - print(" Then re-run this notebook with the fresh download.") - -print("\n=== Verification complete ===") -print("If the checksum matches, you are now ready to challenge the") -print("WFGY 3.0 · Singularity Demo and explore the system yourself.") -print("") -print("If you find this project interesting or useful,") -print("consider giving it a ⭐ on GitHub to help more people discover it:") -print("https://github.com/onestardao/WFGY") -print("") -print("Open, verifiable, reproducible. See what happens when more observers join.")