Secure Secret Sharing
Dark
Info
Encrypt
Decrypt
Derive Password
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
🎲 salt
16B
🎲 IV
12B
🔒 ciphertext
variable
↓
✂️
Shamir's Secret Sharing
GF(2⁸) • Uint8Array • k-of-n threshold
↓
📦
Share 1
Required
📦
Share 2
Required
📦
Share 3
Optional
📦
...
Share n
k of n shares needed to decrypt
Combining and Decryption
📦
Share 1
Required
📦
Share 2
Required
📦
Share 3
Optional
📦
...
Share n
Select k shares (minimum threshold)
↓
🔗
Shamir's Combine
GF(2⁸) • Uint8Array • Lagrange interpolation
↓
📋
Reconstructed Data
🎲 salt
16B
🎲 IV
12B
🔒 ciphertext
variable
🗝️
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
Secret Data
Total Shares
Threshold
Encrypt and Split
Encrypted shares will appear here...
Combine and Decrypt Shares
Remove
Remove
Add Share
Combine and Decrypt
Decrypted data will appear here...
Derive Password
Salt
Counter
Generate
Derived password will appear here...
This software is provided "as is" without any warranty. Use at your own risk.
Enter Password
Show
Cancel
Confirm
Share View
✕