public function check($password) {
        if (empty($password) ) {
            throw new InvalidArgumentException('The password cannot be empty');
        }
        $process = new Process($this->command);
        $process->setInput($password);
        $process->mustRun();

        return $this->verifyOutput($process->getOutput() );
    }