ds: hashing: multiplication bug fixing