Back to Components
|

ShamirSecretSharing

ShamirSecretSharing

Split sensitive data into multiple shares using Shamir's Secret Sharing algorithm. Reconstruct the secret only when a threshold of shares are combined.

🔧

Live preview would be rendered here

Component: ShamirSecretSharing

Install component

npm
$npm install bigblocks
import { ShamirSecretSharing } from 'bigblocks';

export default function KeyBackup() {
  return (
    <ShamirSecretSharing
      privateKey="L1aW4aubDFB7yfras2S1mN3bqg9nwySY8nkoLmJebSLD5BWv3ENZ"
      onKeyReconstructed={(wif) => {
        console.log('Private key reconstructed:', wif);
      }}
    />
  );
}