added doc strings to crypto.hpp