C++ library of algorithms to test key strength