Object oriented php class which has various encryption methods