 Error detection is most commonly realized using a suitable hash function (or specifically, a checksum, cyclic redundancy check or other algorithm).A hash function adds a fixed-length "tag" to a message, which enables receivers to verify the delivered message by recomputing the tag and comparing it with the one provided.There exists a vast variety of different hash function designs.