I found a construction for MDS matrix (algorithm 4 of https://eprint.iacr.org/2020/1143) for a hash function that compresses elements in a prime field $F_p$
If the hash has a rate and capacity $(r,c)$ and $m = r+c$. It proceeds as
- Identify a primitive root of unity $g$ in $F_p$.
- Write a Vandermonde Matrix $V[i,j] = g^{ij}$ where $ i=0,1,\ldots m-1$ and $j=0,1,\ldots 2m$
- Reduce it to a row echelon form
- Then $V = I|M^T$ where $I_{m\times m}$ is unit matrix and $M$ is the desired MDS matrix.
The security level offered by the hash $s= \log_2(\sqrt{p})min(r,c)$. I wanted to know if the MDS construction in this form is independent of the security level.
The above resource is from the rescue hash function, that provides $122$ bit security, with $p = 2^{61}+20.2^{32}+1$ and $r=8, c=4$.