+ Split & Rebuild Secrets +
++ Zero-trust client-side cryptographic key splitting powered by polynomial interpolation over GF(256). +
+ +Generate New Secret Shares
+Total output files created (2 ≤ X ≤ 255)
+Minimum shares needed to decode (2 ≤ Y ≤ X)
++ Share Settings Rules +
+-
+
- X (Total Shares): How many individual text files will be downloaded. +
- Y (Threshold): Minimum shares required to reconstruct the original message. +
- Security: Possessing Y-1 or fewer shares mathematically provides zero knowledge of the secret. +
- Limit: Up to 1024 UTF-8 characters per secret byte array chunk. +
Decode Existing Shares
++ Option A: Drag & Drop / Upload .TXT Share Files +
++ Option B: Paste Share Payloads (One per line or blocks) +
+ ++ How to Use SSS-Shamirs-Secret-Sharing-Static-Local.html +
++ This standalone tool operates 100% offline and locally inside your browser. No secret keys, passphrases, or calculated shares are ever transmitted over a network. You can save this HTML file to an air-gapped flash drive and run it on any device with a web browser. +
+
+ Generating Shares: Click on Generate New Shares, type your sensitive secret into the message area, and select your target thresholds (X total shares, Y required). Clicking Generate & Download Shares will automatically output X individual formatted text files (e.g. 2026-10-25-Shamirs-Secret-Shares-1-of-5.txt). Distribute these files to different physical locations, team members, or safe deposit boxes.
+
+ Reconstructing the Secret: When emergency recovery is needed, collect at least Y of the downloaded text files. Navigate to Decode Existing Shares, upload the text files directly or paste their contents into the text box, and click Reconstruct Secret. +
+Understanding Shamir's Secret Sharing
+1. The Geometric Intuition (2D Polynomials)
++ Imagine basic high school algebra: How many points are needed to define a straight line? The answer is 2 points. If you are given only 1 point, an infinite number of different lines could pass through it. +
++ Similarly, it takes 3 points to uniquely define a parabola (a polynomial of degree 2, $f(x) = ax^2 + bx + c$). In general, a polynomial of degree $k - 1$ requires exactly $k$ points to be uniquely reconstructed. +
++ Shamir's Secret Sharing utilizes this principle: Your secret message is hidden as the constant term (the y-intercept, where $x=0$) of a randomly generated polynomial. Each share distributed to a holder is simply one coordinate $(x, y)$ along that hidden mathematical curve. +
+2. Perfect Information-Theoretic Security
++ Why can't someone guess the secret if they have $Y-1$ shares? Because until you reach the threshold $Y$, the remaining unknown coefficients of the polynomial can take any valid value with equal probability. +
++ Having $Y-1$ shares leaves every possible secret message equally plausible. This provides information-theoretic security: even an adversary with infinite computing power cannot extract a single bit of information about your secret without reaching the threshold $Y$. +
+3. Byte-Level Galois Field Mathematics GF(256)
++ In standard real-number arithmetic, coordinate calculations generate massive floating-point numbers and fractions that cause precision loss and leak information through number size. +
++ This tool performs polynomial calculations over Galois Field GF($2^{8}$) / GF(256) using the irreducible primitive polynomial $x^8 + x^4 + x^3 + x + 1$ (0x11B). In GF(256), addition is equivalent to bitwise XOR, and multiplication/division are performed via logarithmic lookup tables. Each byte of your secret (from 0 to 255) is split independently across the exact same degree polynomial, allowing arbitrary UTF-8 text and binary data to be shared with absolute mathematical precision. +
+