  In this paper, we establish the expected order of magnitude of the
$k$th-moment of quadratic Dirichlet $L$-functions associated to hyperelliptic
curves of genus $g$ as well as of prime moduli over a fixed finite field
$\mathbb{F}_{q}$ for all real $k \geq 0$.
