Wrap crypto in a class. Up warning level