Home▸Cryptography▸Shamir Threshold Secret Sharing: Polynomial Shares, Lagrange Reconstruction and Perfect Secrecy

Shamir Threshold Secret Sharing: Polynomial Shares, Lagrange Reconstruction and Perfect Secrecy

Hide a secret number in a random polynomial over a prime field, hand a share to each key holder and open the vault only when enough of them come together. Change the threshold, the number of holders, the shares collected, the secret and the field size to see that k shares rebuild the secret exactly while k minus one shares leave every value equally likely. A Blender-built vault hall, with exact numerical checks including a brute-force secrecy count.

Cryptography3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Shamir Threshold Secret Sharing: Polynomial Shares, Lagrange Reconstruction and Perfect Secrecy ↗ Open standalone

Hide a secret number in a random polynomial over a prime field, hand a share to each key holder and open the vault only when enough of them come together. Change the threshold, the number of holders, the shares collected, the secret and the field size to see that k shares rebuild the secret exactly while k minus one shares leave every value equally likely. A Blender-built vault hall, with exact numerical checks including a brute-force secrecy count.

⚙ Under the hood

Hide a secret number in a random polynomial over a prime field, hand a share to each key holder and open the vault only when enough of them come together. Change the threshold, the number of holders, the shares collected, the secret and the field size to see that k shares rebuild the secret exactly while k minus one shares leave every value equally likely. A Blender-built vault hall, with exact numerical checks including a brute-force secrecy count.

cryptographysecret sharingshamirpolynomial interpolationthreshold schemekey managementinformation theorysecurityShamir Secret SharingThreshold CryptographyLagrange InterpolationFinite FieldPerfect Secrecy

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)