ssss

Split secrets into shares and reconstruct them using Shamir's scheme

brewmacoslinux
Try with needOr install directly
Source

About

Shamir's secret sharing scheme implementation

Commands

ssss-splitssss-combine

Examples

Split a secret into 5 shares requiring any 3 to reconstruct$ echo 'my-secret-password' | ssss-split -t 3 -n 5
Reconstruct secret from 3 shares$ ssss-combine -t 3
Split a secret from a file with 4 shares needing 2 to recover$ cat secret.txt | ssss-split -t 2 -n 4