Hi everyone,
I would like to implement a hashing program that is based on fiestel structure. the algorithm generates 64 bit digits hash value. it is CBC(cipher block chaining) mode. i.e initially it gets "initial vector" and the output(cipher) of the first block is passed to the second block together with a key, or simply the computation is based on as follows:
Y0 = Ek(IV) ---initial vector
Y1 = Ek(X1 ^ Y0)
Y2 = Ek( X2 ^Y1)
.
.
Yn = Ek(Xn ^ Yn-1)
can anyone with previous experience of this type of algorithm give me a hint for getting me started.
thanks in advance.