<commit_before>module.exports = function() {
  return {
    wallet_server: 'http://localhost:3000/v2',

    kdf_params: {
      algorithm: 'scrypt',
      bits: 256,
      n: 2,
      r: 2,
      p: 1
    }
  };
};<commit_msg>add explanatory comment about the current scrypt parameters we are using<commit_after>module.exports = function() {
  return {
    wallet_server: 'http://localhost:3000/v2',

    // scrypt is designed to be computationally intensive, as this makes
    // brute-force attacks difficult. For clients that are capable of running
    // an implementation of scrypt and have the time and computational power
    // (for eg, browser clients), this works well. For low-end mobile phones
    // interacting over USSD, this is not the case. Since we need to do the
    // encryption for our users when they interact with our services, a
    // computationally intensive algorithm running for each request is not
    // feasible. For this reason, we tweak the scrypt parameters to be less
    // computationally intensive, and need to rely on rate-limiting or a
    // similar approach to prevent brute-force attacks. scrypt's parameters can
    // be tweaked to choose whether it should be computationally intensive or
    // memory intensive. Simple tests don't show much of an impact on memory
    // with these current parameters, but we still need to test this more
    // thoroughly.
    kdf_params: {
      algorithm: 'scrypt',
      bits: 256,
      n: 2,
      r: 2,
      p: 1
    }
  };
};
{'fraction_non_alphanumeric': 0.08113456464379948, 'fraction_numerical': 0.014511873350923483, 'mean_word_length': 2.709046454767726, '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': '1496217', 'n_tokens_mistral': 432, 'n_tokens_neox': 394, 'n_words': 185}