Secure Secret Sharing

Encryption and Splitting

🗝️
Password User provided
🎲
Random Salt 16 bytes
⚙️
PBKDF2-SHA256 Web Crypto API
🔢
Iterations 50M (hardcoded)
🔑
Derived Key 256-bit key
📝
Secret Text Your data
🔒
AES-GCM Web Crypto API
🎲
Random IV 12 bytes
📋
Encrypted Data Structure
🎲 salt16B 🎲 IV12B 🔒 ciphertextvariable
✂️
Shamir's Secret Sharing GF(2⁸) • Uint8Array • k-of-n threshold
k of n shares needed to decrypt

Combining and Decryption

Select k shares (minimum threshold)
🔗
Shamir's Combine GF(2⁸) • Uint8Array • Lagrange interpolation
📋
Reconstructed Data
🎲 salt16B 🎲 IV12B 🔒 ciphertextvariable
🗝️
Password User provided
🔢
Iterations 50M (hardcoded)
⚙️
PBKDF2-SHA256 Web Crypto API
🎲
Salt From data
🔑
Derived Key 256-bit key
🎲
IV From data
🔓
AES-GCM Decrypt Web Crypto API
🔒
Ciphertext From data
📝
Secret Text Original data recovered

Password Derivation

📝
Salt String User provided
🔗
Construct Salt Combine inputs
🔢
Counter ≥ 1
🧂
Formatted Salt _salt_::{salt}:{counter}::_salt_
🗝️
Password User secret
⚙️
PBKDF2-SHA256 Web Crypto API
🔢
Iterations 50M (hardcoded)
💾
Derived Bits 256 bits (32 bytes)
📄
Base64 Encode Binary to text
🔑
Derived Password 44 characters (Base64)

Encrypt and Split Secret

Encrypted shares will appear here...

Combine and Decrypt Shares

Decrypted data will appear here...

Derive Password

Derived password will appear here...
This software is provided "as is" without any warranty. Use at your own risk.