C++ library that represents permutation-encryption method