Warning: It may not be 100% safe. Use at your own risk.
Run node shamir_decompose.js
for decomposing the generated 256-bit hex key into shares.
Run node shamir_recompose.js
for recomposing the key from the shares.
Also I would be grateful for any feedback and ideas for improvement.