{"size": 157, "ext": "js", "max_stars_repo_path": "src/utils/encrypt.js", "max_stars_repo_name": "gabrielluizoc/api-default", "max_stars_repo_stars_event_min_datetime": "2020-05-13T19:55:06.000Z", "max_stars_repo_stars_event_max_datetime": "2020-05-13T19:55:06.000Z", "max_issues_repo_path": "src/utils/encrypt.js", "max_issues_repo_name": "gabrielluizoc/api-default", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/utils/encrypt.js", "max_forks_repo_name": "gabrielluizoc/api-default", "max_forks_repo_forks_event_min_datetime": "2021-03-09T18:31:34.000Z", "max_forks_repo_forks_event_max_datetime": "2021-03-09T18:31:34.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 26.1666666667, "max_line_length": 51, "alphanum_fraction": 0.6878980892}
const bcrypt = require('bcryptjs');

exports.generateHash = async(param, stregth) => {
    const hash = await bcrypt.hash(param, stregth);
    return hash;
}