public function create($string, array $arguments = [])
    {
        $cost = isset($arguments['cost']) ? $arguments['cost'] : $this->cost;

        if (isset($arguments['salt'])) {
            $hash = password_hash($string, PASSWORD_BCRYPT, ['cost' => $cost, 'salt' => $arguments['salt']]);
        } else {
            $hash = password_hash($string, PASSWORD_BCRYPT, ['cost' => $cost]);
        }

        if ($hash === false) {
            throw new \RuntimeException('BCrypt hashing support not available.');
        }

        return $hash;
    }