Hash.h, hash.c and crypto.c modified