I've only just started research on cryptography so I apologize if this is a basic question or I'm getting terms confused.
I'm researching braid group cryptography and currently looking at the Anshel-Anshel-Goldfeld key exchange protocol applied to braid groups via the colored Burau representation. Both parties have a shared secret commutator, an element in the braid group $B_n$, and then calculate it's colored Burau representation which is a pair (M, $\pi$) where $\pi$ is a permutation and M is a matrix with entries in $\mathbb{Z}[t_1,t_1^{-1},...,t_n,t_n^{-1}]$. We then apparently reduce M modulo some prime $p$, and "plug in the result to a key hash function". I have a few questions about this last statement:
What is the point in reducing the matrix M?
Is using a hash function the standard way to convert an abstract group element into a usable key? If so, is there as standard hash function for each particular type of group?
Is the hash function a 'key derivation function' or a 'key extractor'?