dHash Implementation for Node