npm module: composite hashing