Basic crypto service.