sync: In digest-tree, create a hash object with crypto.createHash, not "new crypto.createHash".