Algorithm
For a given message to hash and a given block cipher encryption function, the MDC-2 algorithm proceed as followed. Let be the block length, two different constants of size . If where each has size, then the hash of the message is given by:
- for to :
- return
Read more about this topic: MDC-2