ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 21 Jan 2021 12:36:44 +0100Which hash function can be used to get $w=H(d)\in F^n$ case?https://ask.sagemath.org/question/55408/which-hash-function-can-be-used-to-get-whdin-fn-case/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?Thu, 21 Jan 2021 11:50:33 +0100https://ask.sagemath.org/question/55408/which-hash-function-can-be-used-to-get-whdin-fn-case/Comment by tmonteil for <p>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.</p>
<p>I can not find any hash function which outputs field values.</p>
<p>Can someone please help and show me the right direction?</p>
https://ask.sagemath.org/question/55408/which-hash-function-can-be-used-to-get-whdin-fn-case/?comment=55410#post-id-55410You 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 ?Thu, 21 Jan 2021 12:36:44 +0100https://ask.sagemath.org/question/55408/which-hash-function-can-be-used-to-get-whdin-fn-case/?comment=55410#post-id-55410