Crypto library using C++11 features