# How to generate random vector with specific hamming weight in GF(q) ?

Dear all,

How to generate random vectors with a specific hamming weight in the finite field GF(q) ?

Thanks!