1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
6 const { createHash } = require('crypto');
8 module.exports = env => {
9 const hash = createHash('md5');
10 hash.update(JSON.stringify(env));
12 return hash.digest('hex');