This is a minimalist and complete implementation of Shamir's secret sharing algorithm as described in JACM1979. The goal is to provide a generic and efficient implementation.
To build and run the tests:
mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=<path> .. cmake --build . --target install cmake --build . --target test
In case of bugs/questions, please contact me on Github.