Which hash function can be used to get $w=H(d)\in F^n$ case?

asked 2021-01-21 11:50:33 +0200

Sri1729 gravatar image

updated 2022-04-14 10:56:37 +0200

FrédéricC gravatar image

I am trying to implement a cryptographic scheme. For a arbitrary message $d$ , I need a Hash Function $\mathbb{H}$ that can compute the hash value $w=\mathbb{H}(d)\in \mathbb{F}^n$. Here $F$ is a finite field of order four.

I can not find any hash function which outputs field values.

Can someone please help and show me the right direction?

edit retag flag offensive close merge delete


You need to make your question more precise. There is always the trivial hash function that maps very w to the zero vector of F^n. What properties should your hash function satisfy ?

tmonteil gravatar imagetmonteil ( 2021-01-21 12:36:44 +0200 )edit