Static website implementing Shamir Secret Sharing generation and recovery
https://seal.lovie.dev/
- JavaScript 97.1%
- HTML 2.9%
| web | ||
| README.md | ||
Seal
Seal is an open-source static website that implements Shamir Secret Sharing generation and recovery in a simple interface.
Shares
There is no one standard way to represent Shamir shares unfortunately, and a custom binary format (although saving of share length) would not be a great idea, as the documentation or the tool would be required for recovery.
The shares are represented by an ASCII string as follows:
seal1-s[set]-i[index]-t[threshold]-n[count]-d[data]-e[encrypted]-c[checksum]
seal1: share version (all tools are fully backwards compatible)s[set]: a random id of the set, 8 bytesi[index]: index of the share in the set, 1 bytet[threshold]: minimum amount of shared needed for decryption, 1 byten[count]: total shares in the set, 1 byted[data]: share data, 32 bytese[encrypted]: encrypted payload, optionalc[checksum]: checksum of the string without the-c[checksum, optional
All data, except [mode], is in uppercase hexadecimal.
Example share
TODO