Educational implementation of Shamir's Secret Sharing scheme for secure password splitting and reconstruction.
Split any password into 8 shares where only 4 shares are needed to reconstruct the original password. Perfect for secure password backup and distributed storage.
# Install dependency
brew install ssss # macOS
sudo apt install ssss # Linux
# Split a password
./shamir.sh split
# Reconstruct from any 4 shares
./shamir.sh reconstruct- Secure: Uses proven cryptographic Shamir's Secret Sharing
- Configurable: Adjust shares/threshold in
config.sh - User-friendly: Hidden password input and clear CLI interface
- Educational: Well-documented implementation for learning
- Complete Usage Guide - Installation and examples
- Technical Details - In-depth documentation
Each share is useless alone. You need exactly 4 shares to reconstruct the password. Store shares separately for maximum security.