added crypto class