Added d2 function to DNAHash engine