current/benchmark/policy/policy-startup.js
Function main
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function main(conf) {
const hash = (str, algo) => {
const hash = require('crypto').createHash(algo);
return hash.update(str).digest('base64');
};