The problem of using a hash function is that the generation of a desired bitstring cannot be guaranteed.
error correction codes must be used in this protocol when there is no feasible hash code available, which increase the size of the transmission data.