default.cpp

unsigned int i;
for(i=0; i<outLen; i+=DefaultHashModule::DIGESTSIZE)
{
 b[0] = (byte) i >> 8;


line b[0] = (byte) i >> 8; is equivalent to b[0] = 0;
correct one (i suppose) would be

b[0] = (byte) (i >> 8);

Reply via email to