<commit_before>'use strict';
var forge = require('node-forge');
var config = require(`../config/${process.env.STAGE}`);

//TODO: encrypt salt values in configs - use KMS to decrypt before creating digests

module.exports = {
    apiIdDigest: function(apiId) {
        let md = forge.md.sha256.create();<commit_msg>TODO fixup<commit_after>'use strict';
var forge = require('node-forge');
var config = require(`../config/${process.env.STAGE}`);

//TODO: encrypt salt values in configs - use AWS KMS to decrypt before creating digests

module.exports = {
    apiIdDigest: function(apiId) {
        let md = forge.md.sha256.create();
{'fraction_non_alphanumeric': 0.14626391096979333, 'fraction_numerical': 0.009538950715421303, 'mean_word_length': 4.04, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1594539', 'n_tokens_mistral': 207, 'n_tokens_neox': 202, 'n_words': 55}