A C++ simple encryption api